Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- update-rc.d myscript defaults 99 01
- #!/bin/sh
- ### BEGIN INIT INFO
- # Provides: myscript
- # Required-Start: $remote_fs $syslog
- # Required-Stop: $remote_fs $syslog
- # Default-Start: 2 3 4 5
- # Default-Stop: 0 1 6
- # Short-Description: Start daemon at boot time
- # Description: Enable service provided by daemon.
- ### END INIT INFO
- case "$1" in
- start)
- service tomcat6 restart
- /usr/local/lib/geoserver-2.5/bin/startup.sh
- ;;
- esac
- quit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement