On Wed, Dec 30, 2015 at 08:58:32AM +0100, Christian Loos wrote: > Am 30.12.2015 um 00:37 schrieb Dominic Hargreaves: > > Hi Chris, > > > > Thanks for this. I noticed that your service unit file does not include > > any mention of a dependency on mysql or postgresql; something that was > > recently added to the init script exactly for systemd compatibility. > > Do you know if this should be added to the unit file too? > > > > Cheers, > > Dominic. > > Hi Dominic, > > actually the Restart=on-failure and RestartSec=5 lets spawn-fcgi > try to connect to the database every 5 seconds. > > As this works for both, database on the same host and database on a > remote host, I think this is the better solution.
That seems reasonable; I'll include the unit file in a future upload of request-tracker4. Cheers, Dominic.