Lines Matching refs:NO_STATUS_COMMAND
279 %NO_STATUS_COMMAND% pid="`pidofproc %COMMAND%`"
280 %NO_STATUS_COMMAND% test -n "${pid}" &&
281 %NO_STATUS_COMMAND% {
282 %NO_STATUS_COMMAND% echo "%SERVICE_NAME% running, process ${pid}"
283 %NO_STATUS_COMMAND% exit 0
284 %NO_STATUS_COMMAND% }
285 %NO_STATUS_COMMAND% test -f "`pidfilename %COMMAND%`" &&
286 %NO_STATUS_COMMAND% {
287 %NO_STATUS_COMMAND% echo "%SERVICE_NAME% not running but PID-file present."
288 %NO_STATUS_COMMAND% exit 1
289 %NO_STATUS_COMMAND% }
290 %NO_STATUS_COMMAND% test -f "${LOCK_FILE}" &&
291 %NO_STATUS_COMMAND% {
292 %NO_STATUS_COMMAND% echo "%SERVICE_NAME% not running but lock file present."
293 %NO_STATUS_COMMAND% exit 2
294 %NO_STATUS_COMMAND% }
295 %NO_STATUS_COMMAND% echo "%SERVICE_NAME% not running."
296 %NO_STATUS_COMMAND% exit 3