1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
samba-mirror/packaging/systemd/ctdb.service.in
Vinit Agnihotri 93824b8c33 packaging: move CTDB service file to top-level
Signed-off-by: Vinit Agnihotri <vagnihotri@ddn.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2022-04-06 06:34:37 +00:00

20 lines
409 B
SYSTEMD

[Unit]
Description=CTDB
Documentation=man:ctdbd(1) man:ctdb(7)
After=network-online.target time-sync.target
ConditionFileNotEmpty=@CTDB_ETCDIR@/nodes
[Service]
Type=forking
LimitCORE=infinity
LimitNOFILE=1048576
TasksMax=4096
PIDFile=@CTDB_RUNDIR@/ctdbd.pid
ExecStart=@SBINDIR@/ctdbd_wrapper start
ExecStop=@SBINDIR@/ctdbd_wrapper stop
KillMode=control-group
Restart=no
[Install]
WantedBy=multi-user.target