Project

General

Profile

Actions

Feature #2639

closed

do not remove socket before use

Added by alex_eri about 9 years ago. Updated about 9 years ago.

Status:
Wontfix
Priority:
Normal
Target version:
-

Description

Please add option to do not remove socket before bind to it.
I tried to write SystemD socket activation with spawn-fcgi for PHP, but failed to get it working.

Last error is:

spawn-fcgi[8399]: spawn-fcgi: removing old socket failed: Permission denied

As workaround i moved socket to /tmp/ directory instead of /run/.

Actions #1

Updated by stbuehler about 9 years ago

  • Status changed from New to Wontfix

and what would spawn-fcgi be doing if not creating, chowning and binding the socket?

you probably don't need it in the first place with systemd.

Actions #2

Updated by alex_eri about 9 years ago

Sory)
I didn`t have idea that systemd can spawn CGI itself. Thanks

Actions #3

Updated by stbuehler about 9 years ago

Now that I actually tried it myself: you probably want to have a look at systemd.

Actions

Also available in: Atom