theKindOfMe

September 17, 2010

Running a Groovy Script as a Linux Daemon

Filed under: Uncategorized — Tags: — yasi8h @ 9:54 am

So you have a groovy script and you want to write a little bash script to run it as a linux damon (urr… well the script will only try and start stop your program. It doesn’t make just any program a daemon.. duh..).

Note that this was tested on a Ubuntu 10.04 LTS system. And it should most probably work on any morden redhat/debain biased distro.

This script is heavily biased on a script written by Joshua Davis.

Get it here. Don’t be lazy. Read the script and how it works should be self explanatory.

Advertisements

Blog at WordPress.com.