path: courier_1.5.1-2/debian/init-d-script-courier do_stop_cmd_override() { if ! pidofproc ${PIDFILE:+-p ${PIDFILE}} "$DAEMON" >/dev/null; then # If the service is not currently running, a call to stop it should # indicate success. path: courier_1.5.1-2/debian/init-d-script-courier fi if pidofproc ${PIDFILE:+-p ${PIDFILE}} "$DAEMON" >/dev/null; then # Similar for process already running: a subsequent call to start the # service must not return an error. path: courier_1.5.1-2/debian/changelog Closes: #860765. * Fix init scripts: Add proper PIDFILE declarations to init scripts. Replace status_of_proc with a more direct call to pidofproc and simplify the courier and courierfilter init scripts. Closes: #860777. * Take over the package. Closes: #848978.