#!/bin/sh #/etc/init.d/supy case "$1" in start) su supy -c "supybot /home/supy/devserv.conf" ;; stop) pkill -u supy supybot ;; *) echo "Usage: /etc/init.d/supy {start|stop}" exit 1 ;; esac exit 0