1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/ctdb/config/ctdb.service
Martin Schwenke e4d99cc899 packaging: Add systemd support
Based on an original patch by Sumit Bose <sbose@redhat.com>.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit e43a4b7b69a21c4cec2453dcac436b64bf5d7f06)
2013-07-10 18:14:33 +10:00

16 lines
309 B
Desktop File

[Unit]
Description=CTDB
After=network.target
[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
KillMode=control-group
Restart=no
[Install]
WantedBy=multi-user.target