debmaker/ressources/moodle/rootfs/usr/lib/systemd/system/moodle-adhoc_task@.service

18 lines
307 B
SYSTEMD
Raw Permalink Normal View History

2024-04-13 23:16:05 +02:00
[Unit]
Description=moodle adhoc 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/adhoc_task.php -e -k=3600
[Install]
WantedBy=multi-user.target