aboutsummaryrefslogtreecommitdiffstats
path: root/clfs/units/fcron.service
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2014-03-05 13:16:40 -0600
committerWilliam Harrington <kb0iic@berzerkula.org>2014-03-05 13:16:40 -0600
commitd3078b183348e703cf5928128d2706c31fc7d870 (patch)
treed63a12e38bbf721d79d3181351e1efc1bfc22af9 /clfs/units/fcron.service
Initial commit.
Diffstat (limited to 'clfs/units/fcron.service')
-rw-r--r--clfs/units/fcron.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/clfs/units/fcron.service b/clfs/units/fcron.service
new file mode 100644
index 0000000..5fedc79
--- /dev/null
+++ b/clfs/units/fcron.service
@@ -0,0 +1,19 @@
+#systemd service configuration file for fcron installed from fcron 3.1.2 package
+#2014-02-06 Add EnvironmentFile to use runtime options using $FCRON_OPTS
+
+[Unit]
+Description=fcron periodical command scheduler
+After=remote-fs.target syslog.target time-sync.target
+Before=shutdown.target
+
+[Service]
+Type=forking
+EnvironmentFile=/etc/sysconfig/fcron
+PIDFile=/var/run/fcron.pid
+ExecStart=/usr/sbin/fcron $FCRON_OPTS
+ExecReload=/bin/kill -USR1 $MAINPID
+Restart=always
+KillMode=process
+
+[Install]
+WantedBy=multi-user.target