From 150f392b6c14307c89df6f3db9e7ff721b6e6545 Mon Sep 17 00:00:00 2001 From: La Date: Thu, 17 Apr 2025 00:06:32 +0800 Subject: [PATCH] Update 07-svc-cron.sh remove the chmod command to avoid the exception --- rootfs/etc/cont-init.d/07-svc-cron.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rootfs/etc/cont-init.d/07-svc-cron.sh b/rootfs/etc/cont-init.d/07-svc-cron.sh index 96ffc70..1284208 100644 --- a/rootfs/etc/cont-init.d/07-svc-cron.sh +++ b/rootfs/etc/cont-init.d/07-svc-cron.sh @@ -33,10 +33,6 @@ fi echo "Creating LibreNMS cron artisan schedule:run" echo "* * * * * php /opt/librenms/artisan schedule:run --no-ansi --no-interaction > /dev/null 2>&1" >>${CRONTAB_PATH}/librenms -# Fix perms -echo "Fixing crontabs permissions..." -chmod -R 0644 ${CRONTAB_PATH} - # Create service mkdir -p /etc/services.d/cron cat >/etc/services.d/cron/run <