aboutsummaryrefslogtreecommitdiffstats
path: root/clfs/units/fcron.service
blob: 5fedc79914e0014b57ddc8975329c6f61ac5a2bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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