From dbdf7eff86d14dab306d5306b5abdfeb98f8a2be Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 7 Apr 2021 10:55:28 +0200 Subject: [PATCH] Correct cron --- scrutiny/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scrutiny/Dockerfile b/scrutiny/Dockerfile index 69add0e0b..a004acec4 100644 --- a/scrutiny/Dockerfile +++ b/scrutiny/Dockerfile @@ -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'