diff options
| author | Simon Rettberg | 2014-01-17 19:40:00 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2014-01-17 19:40:00 +0100 |
| commit | 11763674d9910bb7e8fd783696e7721c0bc6fce3 (patch) | |
| tree | 4c75c92775c2740fdec4217bdd3212dbbca68077 /remote/modules | |
| parent | Make some modules use iptables-helper (diff) | |
| parent | Merge branch 'master' of dnbd3:openslx-ng/tm-scripts (diff) | |
| download | tm-scripts-11763674d9910bb7e8fd783696e7721c0bc6fce3.tar.gz tm-scripts-11763674d9910bb7e8fd783696e7721c0bc6fce3.tar.xz tm-scripts-11763674d9910bb7e8fd783696e7721c0bc6fce3.zip | |
Merge branch 'master' of simonslx:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules')
| -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 |
