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. -- RT Training in Seattle, June 19-20: http://bestpractical.com/training