Adding init.d script (=service) for unicorn
authorMarius Mathiesen <marius@gitorious.com>
Mon, 13 May 2013 13:24:53 +0000 (15:24 +0200)
committerMarius Mathiesen <marius@gitorious.com>
Mon, 13 May 2013 13:24:53 +0000 (15:24 +0200)
commitb2e069216ed9c7c54d05a01e56a47d1354524d70
tree91074187d3886d797d9a756bb099a685b8c442ff
parent6bcdc508db0178e9627f2acb180b28ee88b91c6c
Adding init.d script (=service) for unicorn

This script works properly with:
- start
- stop
- restart
- reload
- chkconfig

It is used from the restart and status commands and in the Monit recipe.
modules/gitorious/manifests/unicorn.pp
modules/gitorious/templates/etc/init.d/gitorious-unicorn.erb [new file with mode: 0644]
modules/gitorious/templates/monit.d/unicorn.monit.erb
modules/gitorious/templates/usr/bin/restart_gitorious.erb