blob: e2768fba43dd3160c28b90def79c0d9a797bced1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[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
# Waiting for PIDfile genegrted
ExecStartPost=/bin/sleep 1
[Install]
WantedBy=multi-user.target
|