diff options
| author | Jonathan Bauer | 2013-12-05 15:21:06 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-12-05 15:21:06 +0100 |
| commit | 0e0be33296a5174e5463c3bb0ab264b3b54a14f5 (patch) | |
| tree | 1389480282a9c5364700912771b274be05dff12c /remote/modules/cron/data | |
| parent | [pam] check if pam_script_ses_open is actually being called by root (diff) | |
| download | tm-scripts-0e0be33296a5174e5463c3bb0ab264b3b54a14f5.tar.gz tm-scripts-0e0be33296a5174e5463c3bb0ab264b3b54a14f5.tar.xz tm-scripts-0e0be33296a5174e5463c3bb0ab264b3b54a14f5.zip | |
[cron] new module for cron using our own patched sources. Has
/etc/cron.d support, files there need to have 0600 permissions to run!
Diffstat (limited to 'remote/modules/cron/data')
| l--------- | remote/modules/cron/data/etc/systemd/system/basic.target.wants/cron.service | 1 | ||||
| -rw-r--r-- | remote/modules/cron/data/etc/systemd/system/cron.service | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/remote/modules/cron/data/etc/systemd/system/basic.target.wants/cron.service b/remote/modules/cron/data/etc/systemd/system/basic.target.wants/cron.service new file mode 120000 index 00000000..8c1084c3 --- /dev/null +++ b/remote/modules/cron/data/etc/systemd/system/basic.target.wants/cron.service @@ -0,0 +1 @@ +../cron.service
\ No newline at end of file diff --git a/remote/modules/cron/data/etc/systemd/system/cron.service b/remote/modules/cron/data/etc/systemd/system/cron.service new file mode 100644 index 00000000..2c5b832a --- /dev/null +++ b/remote/modules/cron/data/etc/systemd/system/cron.service @@ -0,0 +1,7 @@ +[Unit] +Description=CRON + +[Service] +Type=forking +ExecStart=/usr/sbin/cron +ExecStop=/opt/openslx/bin/kill -TERM $MAINPID |
