We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1337990 commit f044befCopy full SHA for f044bef
root/etc/s6-overlay/s6-rc.d/init-mod-swag-auto-proxy-setup/finish
@@ -1,4 +1,4 @@
1
#!/usr/bin/with-contenv bash
2
3
-sed -i '/\/app\/auto-proxy.sh/d' /config/crontabs/root
+sed -i '/\/app\/auto-proxy.sh/d' /etc/crontabs/root
4
rm -rf /etc/nginx/http.d/auto-proxy*.conf /config/nginx/proxy-confs/auto-proxy*.conf
root/etc/s6-overlay/s6-rc.d/init-mod-swag-auto-proxy-setup/run
@@ -12,8 +12,7 @@ rm -rf /auto-proxy
12
mkdir /auto-proxy
13
14
if ! grep -q "/app/auto-proxy.sh" /config/crontabs/root; then
15
- echo "* * * * * /app/auto-proxy.sh" >> /config/crontabs/root
16
- cp /config/crontabs/root /etc/crontabs/root
+ echo "* * * * * /app/auto-proxy.sh" >> /etc/crontabs/root
17
fi
18
19
/app/auto-proxy.sh
0 commit comments