mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
a1e78cc372
The only value this now provides is use of a notification script to log when start/stop are called. This was used for debugging strange start/stop failures, which have not been recently seen. Also, systemd does a good job of logging start/stop. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
20 lines
389 B
SYSTEMD
20 lines
389 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
|
|
ExecStop=@BINDIR@/ctdb shutdown
|
|
KillMode=control-group
|
|
Restart=no
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|