Bash 101 Redux

Bash 101 Redux 

Advertisements

Poor Man’s Linux Service

Quick and dirty way to make your own Linux Services

Warning this may be just too simple for most people to comprehend however this does work and it works very well.

This is a very nice short bash shell script that does just one thing, it starts a background service which in this case happens to be a tornado process while capturing the PID so the service can be stopped later.

This is another nice short bash shell script that stops the previously started tornado service.

Keeping it Simple

I like simple scripts that handle complex tasks.

Keep it simple also means keeping it Agile and there is nothing more agile than a nice short simple script.

See also

http://kvz.io/blog/2009/12/15/run-nodejs-as-a-service-on-ubuntu-karmic/

I would have written a post like this one but I wanted to get back to writing some code for a change…

%d bloggers like this: