1
0
Fork 0
mirror of https://github.com/librenms/docker.git synced 2026-01-23 02:14:48 +00:00

Update 07-svc-cron.sh

remove the chmod command to avoid the exception
This commit is contained in:
La 2025-04-17 00:06:32 +08:00 committed by GitHub
parent a902ff5172
commit 150f392b6c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 <<EOL