diff options
Diffstat (limited to 'remote/modules')
| -rw-r--r-- | remote/modules/cron/data/etc/systemd/system/cron.service | 6 | ||||
| l--------- | remote/modules/cron/data/etc/systemd/system/multi-user.target.wants/cron.service (renamed from remote/modules/cron/data/etc/systemd/system/basic.target.wants/cron.service) | 0 |
2 files changed, 3 insertions, 3 deletions
diff --git a/remote/modules/cron/data/etc/systemd/system/cron.service b/remote/modules/cron/data/etc/systemd/system/cron.service index fbf17b27..cd8a41a9 100644 --- a/remote/modules/cron/data/etc/systemd/system/cron.service +++ b/remote/modules/cron/data/etc/systemd/system/cron.service @@ -2,6 +2,6 @@ Description=Cron Daemon [Service] -Type=forking -ExecStart=/opt/openslx/sbin/cron -ExecStop=/opt/openslx/bin/kill -TERM $MAINPID +ExecStart=/opt/openslx/sbin/cron -n +ExecStartPost=-/bin/sh -c 'sleep 3; touch -c /etc/cron.d /etc/cron.d/*' +Restart=on-failure diff --git a/remote/modules/cron/data/etc/systemd/system/basic.target.wants/cron.service b/remote/modules/cron/data/etc/systemd/system/multi-user.target.wants/cron.service index 8c1084c3..8c1084c3 120000 --- a/remote/modules/cron/data/etc/systemd/system/basic.target.wants/cron.service +++ b/remote/modules/cron/data/etc/systemd/system/multi-user.target.wants/cron.service |
