Hello,

We currently use fbguard to run the firebird engine as recommended in the docs 
of firebird.
Systemd service unit:
'ExecStart=/usr/sbin/fbguard -daemon -onetime'

The problem with this approach is that when killing the firebird engine process 
'SIGKILL', the fbguard exites with '0'. In this case systemd doesn't get that 
the firebird process was terminated abnormally.
We are in need of that, because we have some jobs to run in that situation.
We have tried to tell systemd about the PID of the main process by using:
'ExecStart=/usr/sbin/fbguard -pidfile /run/firebird/firebird.pid -daemon 
-onetime'
'PIDFILE=/run/firebird/firebird.pid'

Still, systemd couldn't get these info, because that process is not a direct 
child of systemd process.
'systemd[1]: firebird.service: Supervising process $PID which is not our child. 
We'll most likely not notice when it exits.'

Is it possible to run firebird engine as a daemon without the use of fbguard?

Kind regards,
Yassir

Reply via email to