[Dancer-users] Basic plackup/dancer startup script for Centos

Matthew Vickers mvickers at quispiam.com
Thu Oct 20 07:10:02 CEST 2011


Hi All,

I have knocked up a very basic init script for centos, I suspect it will 
work for other RH derivatives also.

It can be found at https://gist.github.com/1300467. Modify it to suit, 
rename it appropriately, place it in /etc/init.d. Test it works as 
expected with:

     service some_website start

     service some_website stop

     service some_website restart


and then turn it on

     chkconfig some_website on


Comments, changes, suggestions welcome.

Cheers

Matt


More information about the Dancer-users mailing list