Bug#809376: rt4-fcgi: support systemd init natively

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.

Chris