|
Lines 348-353
_find_processes()
Link Here
|
| 348 |
$_procname|$_procnamebn|${_procnamebn}:|"(${_procnamebn})"|"[${_procnamebn}]")' |
348 |
$_procname|$_procnamebn|${_procnamebn}:|"(${_procnamebn})"|"[${_procnamebn}]")' |
| 349 |
fi |
349 |
fi |
| 350 |
|
350 |
|
|
|
351 |
if [ -n "${extra_process_match}" ]; then |
| 352 |
$_fp_match=$_fp_match'|${extra_process_match}' |
| 353 |
fi |
| 354 |
|
| 351 |
_proccheck="\ |
355 |
_proccheck="\ |
| 352 |
$PS 2>/dev/null -o pid= -o jid= -o command= $_psargs"' | |
356 |
$PS 2>/dev/null -o pid= -o jid= -o command= $_psargs"' | |
| 353 |
while read _npid _jid '"$_fp_args"'; do |
357 |
while read _npid _jid '"$_fp_args"'; do |
|
Lines 729-734
check_startmsgs()
Link Here
|
| 729 |
# |
733 |
# |
| 730 |
# extra_commands n List of extra commands supported. |
734 |
# extra_commands n List of extra commands supported. |
| 731 |
# |
735 |
# |
|
|
736 |
# extra_process_match n A glob used to match the daemon's process, used |
| 737 |
# in _find_processes to see if daemon is still |
| 738 |
# running. |
| 739 |
# Use if the daemon use setproctitle and the |
| 740 |
# default globs cannot find the process. |
| 741 |
# |
| 732 |
# pidfile n If set, use check_pidfile $pidfile $command, |
742 |
# pidfile n If set, use check_pidfile $pidfile $command, |
| 733 |
# otherwise use check_process $command. |
743 |
# otherwise use check_process $command. |
| 734 |
# In either case, only check if $command is set. |
744 |
# In either case, only check if $command is set. |