diff options
| author | Simon Rettberg | 2016-01-22 21:44:05 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2016-01-22 21:44:05 +0100 |
| commit | f94c9a8c9aadd7996dc06fb8a1d0c0b506a049e8 (patch) | |
| tree | a29cc8e9cbb41673ebaa7d624f6290828d97cf5d /remote/modules | |
| parent | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff) | |
| download | tm-scripts-f94c9a8c9aadd7996dc06fb8a1d0c0b506a049e8.tar.gz tm-scripts-f94c9a8c9aadd7996dc06fb8a1d0c0b506a049e8.tar.xz tm-scripts-f94c9a8c9aadd7996dc06fb8a1d0c0b506a049e8.zip | |
[cron] Yet another attempt at preventing cron from ignoring files in cron.d
Diffstat (limited to 'remote/modules')
| -rw-r--r-- | remote/modules/cron/data/etc/systemd/system/cron.service | 6 |
1 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..b2b5e770 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=-/opt/openslx/bin/touch -c /etc/cron.d +Restart=on-failure |
