Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/sh
- # /etc/init.d/systemwatch
- #
- echo "Systemwatch by Marco Saller"
- case "$1" in
- start)
- echo "Starting... [ ok ]"
- /home/<name>/systemwatch.py
- ;;
- stop)
- echo "Stopping script"
- ;;
- *)
- echo "Usage: /etc/init.d/systemwatch {start|stop}"
- exit 1
- ;;
- esac
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement