debmaker/ressources/moodle/rootfs/usr/lib/systemd/system/moodle-cron@.service
2024-04-13 23:16:05 +02:00

18 lines
290 B
Desktop File

[Unit]
Description=moodle cron task
StartLimitIntervalSec=120
StartLimitBurst=10
[Service]
User=www-data
Group=www-data
Restart=on-failure
RestartSec=60s
StandardOutput=null
Restart=always
ExecStart=/usr/bin/php /usr/share/moodle/admin/cli/cron.php
[Install]
WantedBy=multi-user.target