Remove ls cron

This commit is contained in:
Alexandre
2021-04-07 10:46:47 +02:00
committed by GitHub
parent f819c20bbb
commit 1a63bb7234

View File

@@ -45,9 +45,9 @@ RUN \
&& sed -i 's| /config| /data|g' /etc/cont-init.d/* \
&& sed -i 's| /config| /data|g' /etc/logrotate.d/scrutiny \
&& sed -i 's| /config| /data|g' /etc/crontabs/root \
# analyse local devices at reboot and every hours
&& sed -i -e '$a @reboot /run.sh' /etc/crontabs/root \
# && sed -i -e '$a 0 * * * * /run.sh' /etc/crontabs/root \
# analyse local devices at reboot, remove previous instructions
&& sed -i '$d' /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'