summaryrefslogtreecommitdiffstats
path: root/ldirectord/systemd/ldirectord.service.in
blob: 191f62af2c0ff6da92a0bdc5594ca1349f1d5823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Monitor and administer real servers in a LVS cluster of load balanced virtual servers
Documentation=man:ldirectord(8)

[Service]
ExecStart=@sbindir@/ldirectord start
ExecStartPost=/usr/bin/touch /var/lock/subsys/ldirectord
ExecStop=@sbindir@/ldirectord stop
ExecStopPost=@RM@ -f /var/lock/subsys/ldirectord
ExecReload=@sbindir@/ldirectord reload
PIDFile=/var/run/ldirectord.ldirectord.pid
Type=forking
KillMode=none

[Install]
WantedBy=multi-user.target