mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
42103b5686
When an NFS check restarts a failed service by hand then systemd will be unable to stop or start this service again because (at least) the PID file will be wrong. Do this via the NFS Linux kernel call-out instead. Allow the call-out to use the services instead of doing manual restarts. Add variables for mount, status and rquotad services to support this. Adding systemd NFS services to the call-out will follow. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13860 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@samba.org>
8 lines
213 B
Plaintext
8 lines
213 B
Plaintext
# rquotad
|
|
version="1"
|
|
restart_every=2
|
|
unhealthy_after=6
|
|
service_stop_cmd="$CTDB_NFS_CALLOUT stop rquotad"
|
|
service_start_cmd="$CTDB_NFS_CALLOUT start rquotad"
|
|
service_debug_cmd="program_stack_traces rpc.rquotad 5"
|