Remove PIDFile/-pidfile directive/option from firebird Super(Server/Classic) 
systemd unit
-----------------------------------------------------------------------------------------

                 Key: CORE-6413
                 URL: http://tracker.firebirdsql.org/browse/CORE-6413
             Project: Firebird Core
          Issue Type: Improvement
          Components: Installation
    Affects Versions: 3.0.6, 4.0 Beta 2
            Reporter: Basil A. Sidorov
            Priority: Trivial


If forking/simple systemd service unit uses PIDFile directive, that file should 
contain pid of main control process from ExecStart directive.
For Firebird SuperServer/SuperClassic - fbguard, but pid-file contain pid of 
child process (firebird).
That prevent systemd from normal stop/restart FB service if fbguard restarted 
child  firebird process.
As long as PIDFile directive are optional for systemd and -pidfile option are 
unneeded for fbguard - they should removed from unit.

Current unit (part):
Type=forking
PIDFile=/var/run/firebird/default.pid
ExecStart=${fb_install_prefix}/bin/fbguard -pidfile 
/var/run/firebird/default.pid -daemon -forever
StandardError=syslog

Suggest or:
Type=forking
ExecStart=${fb_install_prefix}/bin/fbguard -daemon -forever
StandardError=syslog

or:
Type=simple
ExecStart=${fb_install_prefix}/bin/fbguard -forever
StandardError=syslog

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to