File: nfs-ganesha-reload.patch

package info (click to toggle)
nfs-ganesha 2.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,044 kB
  • sloc: ansic: 144,377; cpp: 6,985; perl: 4,985; python: 2,766; sh: 2,604; lex: 606; yacc: 411; makefile: 67; awk: 22; lisp: 20
file content (11 lines) | stat: -rw-r--r-- 670 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/scripts/systemd/nfs-ganesha.service
+++ b/src/scripts/systemd/nfs-ganesha.service
@@ -26,7 +26,7 @@ Environment="NOFILE=1048576"
 EnvironmentFile=-/run/sysconfig/ganesha
 ExecStart=/bin/bash -c "${NUMACTL} ${NUMAOPTS} /usr/bin/ganesha.nfsd ${OPTIONS} ${EPOCH}"
 ExecStartPost=-/bin/bash -c "prlimit --pid $MAINPID --nofile=$NOFILE:$NOFILE"
-ExecReload=/bin/dbus-send --system   --dest=org.ganesha.nfsd --type=method_call /org/ganesha/nfsd/admin  org.ganesha.nfsd.admin.reload
+ExecReload=/bin/kill -HUP $MAINPID
 ExecStop=/bin/dbus-send --system   --dest=org.ganesha.nfsd --type=method_call /org/ganesha/nfsd/admin org.ganesha.nfsd.admin.shutdown
 
 [Install]