summaryrefslogtreecommitdiffstats
path: root/projectroot
diff options
context:
space:
mode:
authorAlbert Antony <albert@newtec.dk>2015-07-15 14:56:34 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-07-16 14:50:48 +0200
commit6d8a0d892ec05208671e919efea933f48e913dd7 (patch)
tree6afde8d2fbd549f00bbee75a4b152dc27831efec /projectroot
parent369bbfeb9bea868cc717c96c00eb1411b071b57c (diff)
downloadptxdist-6d8a0d892ec05208671e919efea933f48e913dd7.tar.gz
ptxdist-6d8a0d892ec05208671e919efea933f48e913dd7.tar.xz
busybox: add crond systemd service
Hopefully the tabs are preserved in this version of the patch ;) Signed-off-by: Albert Antony <albert@newtec.dk> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'projectroot')
-rw-r--r--projectroot/lib/systemd/system/crond.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/projectroot/lib/systemd/system/crond.service b/projectroot/lib/systemd/system/crond.service
new file mode 100644
index 000000000..b650ae520
--- /dev/null
+++ b/projectroot/lib/systemd/system/crond.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Cron Daemon
+After=syslog.service
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/crond -b
+Restart=always
+
+[Install]
+WantedBy=multi-user.target