[rt-users] Have to restart apache2 after reboot

rt4 rt4 at kry.dk
Fri Jun 14 14:03:57 EDT 2013


rt4 wrote
> 
> C. Loos wrote
>> If your OS uses Upstart instead of SysV for Init scrips it isn't
>> guarantied that PostgreSQL starts before Apache.
>> 
>> In Debian they solved the problem with an RT Init scrips which defines
>> the dependencies between the Database and the Webserver:
>> http://anonscm.debian.org/gitweb/?p=pkg-request-tracker/request-tracker4.git;a=blob_plain;f=debian/request-tracker4.init
> I'm on Debian Wheezy (SysVinit).
> 
> Thanks for the init-script. It should just run from rc3.d with a lower
> number
> than database and webserver?

Added "# X-Start-Before: apache2" and "# X-Stop-After: apache2" to
/etc/init.d/postgresql, and updated with insserv -r postgresql and insserv
postgresql. 

Poblem solved :)



--
View this message in context: http://requesttracker.8502.n7.nabble.com/Have-to-restart-apache2-after-reboot-tp54292p54327.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



More information about the rt-users mailing list