From d3078b183348e703cf5928128d2706c31fc7d870 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Wed, 5 Mar 2014 13:16:40 -0600 Subject: Initial commit. --- clfs/units/fcron.service | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 clfs/units/fcron.service (limited to 'clfs/units/fcron.service') 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 -- cgit v1.2.3-54-g00ecf