Move cron to script

This commit is contained in:
Alexandre
2021-04-07 10:53:23 +02:00
committed by GitHub
parent 2c61a4fa21
commit d7f8e06af6

View File

@@ -46,7 +46,7 @@ RUN \
&& sed -i 's| /config| /data|g' /etc/logrotate.d/scrutiny \
&& sed -i 's| /config| /data|g' /etc/crontabs/root \
# analyse local devices at reboot
&& sed -i -e '$a @reboot /run.sh' /etc/crontabs/root \
# && sed -i -e '$a @reboot /run.sh' /etc/crontabs/root \
# correct url paths
&& grep -rl '/web/' /app/scrutiny-web/ | xargs sed -i 's|/web/|./|g'