So after installing Redmine from the repositories on Ubuntu 12.04, I've tried to create an upstart script (see below) so it would start up at boot time.
service redmine start
does start Redmine, it does not start automatically when booting. Also when I run
service redmine stop
it does stop Redmine but simply hangs until I press ctrl+c
Also, after stopping starting it again does not work (Also just hangs).
According to all the upstart examples and tutorials I have seen this should work, so I guess I'm overlooking something. Any hints?
#Redmine description "Redmine" start on started networking stop on stopping networking stop on starting shutdown console output expect daemon exec ruby /usr/share/redmine/script/server webrick -e production -b 188.8.131.52 -p 3000 -d respawn