summaryrefslogtreecommitdiff
path: root/pcr/mycron-git/mycron@.service
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-10-09 18:41:01 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-10-09 18:41:01 +0200
commit943ea8dbd32cb69957544580ecfccc9b79ac6d47 (patch)
treeef50f0eb391d23998b9e4d8d5bb68150eddcb85b /pcr/mycron-git/mycron@.service
parent1598de563bc4102d8d51b264638b986cdef49eca (diff)
A standards compliant and convenient cron service.
Diffstat (limited to 'pcr/mycron-git/mycron@.service')
-rw-r--r--pcr/mycron-git/mycron@.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/pcr/mycron-git/mycron@.service b/pcr/mycron-git/mycron@.service
new file mode 100644
index 000000000..837bc0a1a
--- /dev/null
+++ b/pcr/mycron-git/mycron@.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=mycron for %i
+Wants=multi-user.target
+
+[Service]
+User=%i
+Restart=always
+ExecStart=/usr/bin/mycron
+
+[Install]
+WantedBy=multi-user.target