Elsewhere we're moving the socket to /var/run/ctdb. We might end up
with PID files and sockets for other daemons later, so let's call the
directory "ctdb" instead of "ctdbd".
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit
b63f6fd2d295c8e18cbf3420ab05fce07b727f31)
[Service]
Type=forking
LimitCORE=infinity
-PIDFile=/run/ctdbd/ctdbd.pid
-ExecStart=/usr/sbin/ctdbd_wrapper /run/ctdbd/ctdbd.pid start
-ExecStop=/usr/sbin/ctdbd_wrapper /run/ctdbd/ctdbd.pid stop
+PIDFile=/run/ctdb/ctdbd.pid
+ExecStart=/usr/sbin/ctdbd_wrapper /run/ctdb/ctdbd.pid start
+ExecStop=/usr/sbin/ctdbd_wrapper /run/ctdb/ctdbd.pid stop
KillMode=control-group
Restart=no