Upstart scripts
- by The Journeyman geek
I'm planning on setting up a server using ubuntu lucid lynx, which uses upstart.I'm not finding the docs too intuitive, so i'd like to ask a solution for my specific problem.
I'm currently using a script to start up my IPV6 tunnel with free6/gogo6 - right now its a simple script invoking a single command, and its configuration file
#! /bin/sh
/usr/local/gw6c/bin/gw6c -f /usr/local/gw6c/bin/gw6c.conf
Of course, when this goes down, it tends to be silent, and so i'd need to get in and restart it
I'd like to set up an upstart script which will
start this app on startup, functionally identical to the script i have
restart this script as 'root' should the app fail
enable me to restart the tunnel should anything go wrong.