diff options
| author | Christian Rößler | 2014-01-21 14:09:29 +0100 |
|---|---|---|
| committer | Christian Rößler | 2014-01-21 14:09:29 +0100 |
| commit | c0bcaf2abac83507c39d518ef1a35c374e3cc299 (patch) | |
| tree | 2977059901b72f2810fdbf3e35f70a00a2a4ff15 /remote/modules/cron | |
| parent | [smartctl] conf file for opensuse (diff) | |
| parent | <freiburg config> Add nslcd startup (diff) | |
| download | tm-scripts-c0bcaf2abac83507c39d518ef1a35c374e3cc299.tar.gz tm-scripts-c0bcaf2abac83507c39d518ef1a35c374e3cc299.tar.xz tm-scripts-c0bcaf2abac83507c39d518ef1a35c374e3cc299.zip | |
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules/cron')
| -rw-r--r-- | remote/modules/cron/cron.build | 4 | ||||
| -rw-r--r-- | remote/modules/cron/data/etc/systemd/system/cron.service | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/remote/modules/cron/cron.build b/remote/modules/cron/cron.build index fc364347..932c3e85 100644 --- a/remote/modules/cron/cron.build +++ b/remote/modules/cron/cron.build @@ -18,8 +18,8 @@ build() { make cron || perror "Could not compile cron using 'make'." # copy to build dir, since there are no shared libs linked in - mkdir -p "${MODULE_BUILD_DIR}/usr/sbin" - cp "$MODULE_DIR/src/cron" "$MODULE_BUILD_DIR/usr/sbin/" || perror "Could copy cron binary to ${MODULE_BUILD_DIR}" + mkdir -p "${MODULE_BUILD_DIR}/opt/openslx/sbin" + cp "${MODULE_DIR}/src/cron" "${MODULE_BUILD_DIR}/opt/openslx/sbin/" || perror "Could copy cron binary to ${MODULE_BUILD_DIR}" cd - &>/dev/null } diff --git a/remote/modules/cron/data/etc/systemd/system/cron.service b/remote/modules/cron/data/etc/systemd/system/cron.service index 2c5b832a..fbf17b27 100644 --- a/remote/modules/cron/data/etc/systemd/system/cron.service +++ b/remote/modules/cron/data/etc/systemd/system/cron.service @@ -1,7 +1,7 @@ [Unit] -Description=CRON +Description=Cron Daemon [Service] Type=forking -ExecStart=/usr/sbin/cron +ExecStart=/opt/openslx/sbin/cron ExecStop=/opt/openslx/bin/kill -TERM $MAINPID |
