path: runit_2.3.0-1/debian/contrib/lib/trigger_sv # fi # done if [ -f /etc/runit/stopit ] && pidof runsvdir > /dev/null ; then [ "$(id -u)" = 0 ] && kill -s ALRM 1 # force rescan to pick changes in enabled/disabled service status fi path: runit_2.3.0-1/debian/contrib/lib/trigger_sv echo "$defaultdir : directory not found, exit" && exit 1 fi if [ ! -f /etc/runit/stopit ] && ! pidof -q runsvdir ; then [ -e /etc/runit/verbose ] && echo "no runsvdir found, exit" exit 0 # noop if runit is not init and there's no runsvdir running path: runit_2.3.0-1/debian/tests/init-switch if pidof getty; then echo "OK" elif pidof fgetty; then echo "OK" else