I have recently completed the Wiki web development tutorial (http://golang.org/doc/articles/wiki/). I had tons of fun and I would like to experiment more with the n
Ubuntu? Use upstart.
Create a file in /etc/init for your job, named your-service-name.conf
/etc/init
your-service-name.conf
start on net-device-up exec /path/to/file --option
You can use start your-service-name, as well as: stop, restart, status
start your-service-name
stop
restart
status