diff options
author | Simon Rettberg | 2016-01-22 22:15:24 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-01-22 22:15:24 +0100 |
commit | 3a7b046e8e4d2236a9a377225ac27ff08162f133 (patch) | |
tree | ef79456082cecb4e92d0f1231f6a4110e561496f | |
parent | [cron] Yet another attempt at preventing cron from ignoring files in cron.d (diff) | |
download | tm-scripts-3a7b046e8e4d2236a9a377225ac27ff08162f133.tar.gz tm-scripts-3a7b046e8e4d2236a9a377225ac27ff08162f133.tar.xz tm-scripts-3a7b046e8e4d2236a9a377225ac27ff08162f133.zip |
[cron] fail fail. maybe switch to cronie next time...
-rw-r--r-- | remote/modules/cron/data/etc/systemd/system/cron.service | 2 | ||||
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, 1 insertions, 1 deletions
diff --git a/remote/modules/cron/data/etc/systemd/system/cron.service b/remote/modules/cron/data/etc/systemd/system/cron.service index b2b5e770..cd8a41a9 100644 --- a/remote/modules/cron/data/etc/systemd/system/cron.service +++ b/remote/modules/cron/data/etc/systemd/system/cron.service @@ -3,5 +3,5 @@ Description=Cron Daemon [Service] ExecStart=/opt/openslx/sbin/cron -n -ExecStartPost=-/opt/openslx/bin/touch -c /etc/cron.d +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 |