Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/sh
- # /etc/init.d/pcwizzltd_website
- PROGRAM = /home/morgan/pcwizzltd_website/pcwizzltd_website
- case "$1" in
- start)
- $PROGRAM &
- PID = $!
- echo "Starting pcwizzltd_website (pid:$PID)"
- ;;
- stop)
- echo "Stopping pcwizzltd_website (pid:$PID)"
- kill $PID
- ;;
- *)
- echo "Usage /etc/init.d/pcwizzltd_website {start|stop}"
- exit 1
- ;;
- esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement