Project

General

Profile

redmine stop works when postgresql restart ?

Added by system admin0987 about 12 years ago

hi ,
i am using redmine-1.2.1 with remote postgresql 9.x. its work without problem..But when ever i stop postgresql , i need to start webrick each time on redmine server.

#/etc/init.d/postgresql-9.1 stop

Then i lost redmine connectivity .
So i have restart webrick using given method

#pidof ruby
#kill <PID> -9
#kill -9 9619 9614
#cd /var/www/redminedjtk && /usr/bin/ruby script/server -d webrick -e production
#cd /var/www/redmine-1.2.1 && /usr/bin/ruby script/server -d webrick -e production

After running above commands my redmine connectivity renew.But i want webrick connects automatically . ??
Is there any way to redmine work as service ?