summaryrefslogtreecommitdiffstats
path: root/packaging/systemd/ctdb.service.in
blob: 7905a93e24293d0d7de7a4dad6ff4c4bf7ca706f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[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
ExecStop=@BINDIR@/ctdb shutdown
KillMode=control-group
Restart=no

[Install]
WantedBy=multi-user.target