|
|
2b6f8c2 |
Perform these steps after package installation:
|
|
|
2b6f8c2 |
|
|
|
2b6f8c2 |
1. Inspect the environment file /etc/sysconfig/fcgiwrap. Set fcgiwrap daemon
|
|
|
2b6f8c2 |
parameters acording to your needs. See man fcgiwrap for details.
|
|
|
2b6f8c2 |
|
|
|
2b6f8c2 |
2. The systemd unit files provided with this package are instantiated and must
|
|
|
2b6f8c2 |
be started by specifiying the desired web server user account. For example,
|
|
|
2b6f8c2 |
when using nginx, the fgciwrap service is enabled then started like so:
|
|
|
2b6f8c2 |
|
|
|
fd880bb |
systemctl enable fcgiwrap@nginx.socket
|
|
|
fd880bb |
systemctl start fcgiwrap@nginx.socket
|
|
|
fd880bb |
|
|
|
fd880bb |
Note the socket name is used here rather than the service name. There is no
|
|
|
fd880bb |
need to enable the service itself. Indeed one cannot enable the service on
|
|
|
fd880bb |
older versions of systemd. This is by design.
|
|
|
fd880bb |
|
|
|
fd880bb |
See the systemd socket documentation for further details:
|
|
|
fd880bb |
https://www.freedesktop.org/software/systemd/man/systemd.socket.html
|
|
|
2b6f8c2 |
|