Alex Peshkoff  [2012-03-22 09:43] :
> BTW, in posix things are even more funny. "firebird" executable detects,
> is it started from shell (SS/SC) or from (x)inetd network listener (CS).
> Therefore no switch "-m" is needed at all.
and in that case, what about systemd, where xinetd is no longer
something need ?

here systemd scripts for Classic :

file firebird-classic.socket:
[Unit]
Description=Firebird Classic Activation Socket

[Socket]
ListenStream=3050
Accept=true

[Install]
WantedBy=sockets.target


file firebird-classic@.service:
[Unit]
Description=Firebird Classic server
After=local-fs.target

[Service]
User=firebird
Group=firebird
ExecStart=/usr/sbin/fb_inet_server
StandardInput=socket
StandardError=syslog

and to start it :
systemctl start firebird-classic.socket




------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to