summarylogtreecommitdiffstats
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service12
1 files changed, 12 insertions, 0 deletions
diff --git a/service b/service
new file mode 100644
index 00000000000..d8dfaeccb33
--- /dev/null
+++ b/service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Periodic Command Scheduler
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/crond -n -f /etc/crontab
+ExecReload=/usr/bin/kill -HUP $MAINPID
+KillMode=process
+Restart=always
+
+[Install]
+WantedBy=multi-user.target