Correct cron

This commit is contained in:
Alexandre
2021-04-07 10:55:28 +02:00
committed by GitHub
parent a34a22e813
commit dbdf7eff86

View File

@@ -46,7 +46,8 @@ 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 '$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'