Update sample configuration for Smart HTTP

Using uWSGI for the Smart HTTP protocol caused some issues, see e.g.
FS#45428. Suggest using fcgiwrap instead which is more lightweight, has
better documentation and is easier to debug.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2015-06-28 18:02:38 +02:00
parent 552a297a49
commit c89bf51af2
3 changed files with 32 additions and 17 deletions

View file

@ -0,0 +1,11 @@
[Unit]
Description=Simple CGI Server
After=nss-user-lookup.target
[Service]
ExecStart=/usr/sbin/fcgiwrap
User=aur
Group=aur
[Install]
Also=fcgiwrap.socket

View file

@ -0,0 +1,11 @@
[Unit]
Description=fcgiwrap Socket
[Socket]
ListenStream=/run/fcgiwrap.sock
SocketUser=http
SocketGroup=http
SocketMode=0700
[Install]
WantedBy=sockets.target