diff --git a/ldirectord/systemd/ldirectord.service.in b/ldirectord/systemd/ldirectord.service.in index 4671737bd..85a988bc3 100644 --- a/ldirectord/systemd/ldirectord.service.in +++ b/ldirectord/systemd/ldirectord.service.in @@ -1,12 +1,15 @@ [Unit] Description=Monitor and administer real servers in a LVS cluster of load balanced virtual servers [Service] ExecStart=@sbindir@/ldirectord start ExecStartPost=/usr/bin/touch /var/lock/subsys/ldirectord ExecStop=@sbindir@/ldirectord stop ExecStopPost=/usr/bin/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