Bug#809376: [request-tracker-maintainers] Bug#809376: Bug#809376: rt4-fcgi: support systemd init natively

2015-12-30 Thread Dominic Hargreaves
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.



Bug#809376: [request-tracker-maintainers] Bug#809376: rt4-fcgi: support systemd init natively

2015-12-30 Thread Christian Loos
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.

Chris



Bug#809376: [request-tracker-maintainers] Bug#809376: rt4-fcgi: support systemd init natively

2015-12-29 Thread Dominic Hargreaves
On Tue, Dec 29, 2015 at 11:29:41PM +, Dominic Hargreaves wrote:
> Package: rt4-fcgi
> Version: 4.2.12-4
> Severity: wishlist
> Tags: patch
> Control: submitter -1 cl...@netsandbox.de
> 
> - Forwarded message from Christian Loos  -
> 
> Date: Fri, 18 Dec 2015 15:56:49 +0100
> From: Christian Loos 
> To: d...@earth.li, rt-users 
> Subject: rt4 fcgi systemd service unit file
> 
> Hi Dominic,
> 
> I noticed that you still use an init script for your rt4-fcgi Debian
> package in jessie. I've created a systemd service unit file [1], which
> works fine for me. Maybe you can update your package with this one.
> 
> Chris
> 
> [1] https://gist.github.com/cloos/abbadf961558bb9cdc7e

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.



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

2015-12-29 Thread Dominic Hargreaves
Package: rt4-fcgi
Version: 4.2.12-4
Severity: wishlist
Tags: patch
Control: submitter -1 cl...@netsandbox.de

- Forwarded message from Christian Loos  -

Date: Fri, 18 Dec 2015 15:56:49 +0100
From: Christian Loos 
To: d...@earth.li, rt-users 
Subject: rt4 fcgi systemd service unit file

Hi Dominic,

I noticed that you still use an init script for your rt4-fcgi Debian
package in jessie. I've created a systemd service unit file [1], which
works fine for me. Maybe you can update your package with this one.

Chris

[1] https://gist.github.com/cloos/abbadf961558bb9cdc7e


- End forwarded message -