diff options
Diffstat (limited to 'clfs/units/fcron.service')
-rw-r--r-- | clfs/units/fcron.service | 19 |
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 |