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

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: