docker-swag/root/etc/s6-overlay/s6-rc.d/init-swag-samples/run

14 lines
337 B
Plaintext
Raw Normal View History

#!/usr/bin/with-contenv bash
2022-11-22 15:55:25 -05:00
# shellcheck shell=bash
# samples are removed on init by the nginx base
# copy new samples
if [[ -d /defaults/nginx/proxy-confs/ ]]; then
find /defaults/nginx/proxy-confs/ \
-maxdepth 1 \
-name "*.conf.sample" \
-type f \
2024-04-18 15:53:44 -04:00
-exec cp "{}" /config/nginx/proxy-confs/ \;
fi