git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
take down the -s (startingup) option
[nodemanager.git]
/
initscripts
/
nm
diff --git
a/initscripts/nm
b/initscripts/nm
index
2d5e024
..
15ddefe
100755
(executable)
--- a/
initscripts/nm
+++ b/
initscripts/nm
@@
-14,11
+14,11
@@
[ -f /etc/sysconfig/nodemanager ] && . /etc/sysconfig/nodemanager
[ -f /etc/sysconfig/nodemanager ] && . /etc/sysconfig/nodemanager
-options=${OPTIONS-"-d -s"}
-restartoptions=${RESTARTOPTIONS-"-d"}
+options=${OPTIONS-"-d"}
# turn on verbosity
verboseoptions=${DEBUGOPTIONS-"-v -d"}
# turn on verbosity
verboseoptions=${DEBUGOPTIONS-"-v -d"}
-# debug mode is interactive, and has faster period
+# debug mode is interactive, and has faster period
+# run in deamon mode with service nm restardebug -d
debugoptions=${DEBUGOPTIONS-"-v -p 30 -r 15"}
nodemanager=${NODEMANAGER-"python /usr/share/NodeManager/nodemanager.py"}
debugoptions=${DEBUGOPTIONS-"-v -p 30 -r 15"}
nodemanager=${NODEMANAGER-"python /usr/share/NodeManager/nodemanager.py"}
@@
-49,11
+49,11
@@
case "$1" in
restart|reload)
shift
stop
restart|reload)
shift
stop
- start $
restart
options "$@"
+ start $options "$@"
;;
condrestart)
shift
;;
condrestart)
shift
- [ -f ${pidfile} ] && { stop; start $
restart
options "$@"; }
+ [ -f ${pidfile} ] && { stop; start $options "$@"; }
;;
restartverbose)
shift
;;
restartverbose)
shift