summarylogtreecommitdiffstats
path: root/cronicle.service
blob: 55c18b98031b4525532967eabee72ee5ab838c61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=A multi-server task scheduler and runner
After=network.target

[Service]
Type=forking
User=root
# The following PIDfile is the default location, 
# please modify it if necessary
PIDFile=/opt/cronicle/logs/cronicled.pid
ExecStart=/opt/cronicle/bin/control.sh start
ExecStop=/opt/cronicle/bin/control.sh stop
ExecStartPost=/bin/sleep 1

[Install]
WantedBy=multi-user.target