Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #180368

Re: fcgiwrap systemd

From Peter Ludikovsky <peter@ludikovsky.name>
Newsgroups linux.debian.user
Subject Re: fcgiwrap systemd
Date 2017-04-21 13:40 +0200
Message-ID <tyF4R-5fu-1@gated-at.bofh.it> (permalink)
References <tyDPs-4B9-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 04/21/2017 10:46 AM, Basti wrote:
> Hello,
> I try to use fcgiwrap on debian jessie (systemd). Now i need it as
> socket (fcgiwrap.socket) and also as tcp (fcgiwrap.service).
> As I can see it only start one of then or in other words only one is
> available .
> 
> Is there a way to start socket and service at same time?
> 
> Best Regards,
> Basti
> 

Hi!

You're mixing something up here, the Socket and the Service don't
exclude each other. Instead, the service requires the socket. systemd
can create a listening socket (defined by the fcgiwrap.socket unit) and
listen for connections to it. As soon as that happens it will spawn the
accompanying service (fcgiwrap.service) and connect the socket to it.

For more information look at the definition files in
/lib/systemd/system/fcgiwrap.{socket,service}

Regards
/peter

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

fcgiwrap systemd Basti <mailinglist@unix-solution.de> - 2017-04-21 12:20 +0200
  Re: fcgiwrap systemd Peter Ludikovsky <peter@ludikovsky.name> - 2017-04-21 13:40 +0200

csiph-web