git.samba.org
/
metze
/
ctdb
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fdf131
)
Try to restart NFS if "service nfs start" failed.
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Wed, 24 Mar 2010 04:51:02 +0000
(15:51 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Wed, 24 Mar 2010 04:51:02 +0000
(15:51 +1100)
BZ61827
config/events.d/60.nfs
patch
|
blob
|
history
diff --git
a/config/events.d/60.nfs
b/config/events.d/60.nfs
index 61c8081a853dcb70cc80d8116c2cc2a5b1867c53..395728376bf7fca8408832546f0eaf56173d0851 100755
(executable)
--- a/
config/events.d/60.nfs
+++ b/
config/events.d/60.nfs
@@
-77,7
+77,9
@@
case "$1" in
# check that NFS is running
service nfs status 2>/dev/null >/dev/null || {
- echo NFS is not running
+ echo NFS is not running. Trying to restart NFS.
+ ctdb_service_stop
+ ctdb_service_start
exit 1
}