diff options
Diffstat (limited to 'ldirectord/systemd/ldirectord.service.in')
-rw-r--r-- | ldirectord/systemd/ldirectord.service.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ldirectord/systemd/ldirectord.service.in b/ldirectord/systemd/ldirectord.service.in new file mode 100644 index 0000000..191f62a --- /dev/null +++ b/ldirectord/systemd/ldirectord.service.in @@ -0,0 +1,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 |