2009-12-13

start mongrel on reboot


[/etc/init.d] $ cat curling-site.sh
kill -9 `cat /(blah)/curling/tmp/pids/mongrel.pid`
rm /(blah)/curling/tmp/pids/mongrel.pid
cd /(blah)/curling/
/(blah)/curling/script/server -d -p300
[/etc/init.d] $ update-rc.d script_name defaults

No comments:

Post a Comment