From: philippe m. <pma...@ib...> - 2012-03-22 09:48:35
|
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 |