summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
Diffstat (limited to 'remote')
-rw-r--r--remote/modules/cron/cron.build4
-rw-r--r--remote/modules/cron/data/etc/systemd/system/cron.service4
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