Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #180366 > unrolled thread
| Started by | Basti <mailinglist@unix-solution.de> |
|---|---|
| First post | 2017-04-21 12:20 +0200 |
| Last post | 2017-04-21 13:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.user
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
| From | Basti <mailinglist@unix-solution.de> |
|---|---|
| Date | 2017-04-21 12:20 +0200 |
| Subject | fcgiwrap systemd |
| Message-ID | <tyDPs-4B9-17@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Peter Ludikovsky <peter@ludikovsky.name> |
|---|---|
| Date | 2017-04-21 13:40 +0200 |
| Message-ID | <tyF4R-5fu-1@gated-at.bofh.it> |
| In reply to | #180366 |
[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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web