# -200-DBmail-Service.rule - # Use 'check-rule' & 'check-all-rules' on new or changed rule files # before the Watcher service is restarted. # LOG_CLASS=dbmail ACTION=get_DBMAIL_PID RULE="DBmail process" Pattern='dbmail[' #--------- Decision ----------- if [[ "$REPLY" =~ "$Pattern" ]]; then $ACTION; return $?; fi