search for: log_success_msg

Displaying 4 results from an estimated 4 matches for "log_success_msg".

2017 May 12
3
samba-ad restart fails occasionally
...7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30; do > sleep 3 > kill -0 ${PID} >/dev/null 2>&1 || break > log_warning_msg "...trying once more " > kill -15 ${PID} > done > > kill -0 ${PID} >/dev/null 2>&1 || { > log_success_msg "" > rm -f ${PIDFILE} > exit 0 > } Hw dangerous would it be to replace the last "kill -15 ${PID}" with "kill -9 ${PID}"? Does anyone have some nice suggestions how to solve this? MJ
2014 Dec 06
1
Bug#772274: xen-utils-common: when upgrading package: insserv: Service xenstored has to be enabled to start service xendomains
...#echo -n " [${_SMSG[${_RC_RV}]}] " if test ${_RC_RV} = 0; then success " [${_SMSG[${_RC_RV}]}] " else failure " [${_SMSG[${_RC_RV}]}] " fi } elif test -e /lib/lsb/init-functions; then # LSB . /lib/lsb/init-functions if alias log_success_msg >/dev/null 2>/dev/null; then echo_rc() { echo " [${_SMSG[${_RC_RV}]}] " } else echo_rc() { if test ${_RC_RV} = 0; then log_success_msg " [${_SMSG[${_RC_RV}]}] " else log_failure_msg " [${_SMSG[${_RC_RV}]}] " fi...
2017 May 12
0
samba-ad restart fails occasionally
...21 22 23 24 25 26 27 28 29 30; do > > sleep 3 > > kill -0 ${PID} >/dev/null 2>&1 || break > > log_warning_msg "...trying once more " > > kill -15 ${PID} > > done > > > > kill -0 ${PID} >/dev/null 2>&1 || { > > log_success_msg "" > > rm -f ${PIDFILE} > > exit 0 > > } > > Hw dangerous would it be to replace the last "kill -15 > ${PID}" with "kill -9 ${PID}"? > > Does anyone have some nice suggestions how to solve this? > > MJ > > -- >...
2006 Mar 27
0
access share on machine running server again
....conf (smbd only)..." start-stop-daemon --stop --signal HUP --pidfile $SMBDPID log_end_msg 0 ;; restart|force-reload) $0 stop sleep 1 $0 start ;; *) log_success_msg "Usage: /etc/init.d/samba {start|stop|reload| restart|force-reload}" exit 1 ;; esac exit 0