diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-28 18:02:38 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-28 18:03:21 +0200 |
commit | c89bf51af26003d01fb73eece3899c2b6e97e7bd (patch) | |
tree | d802488c80cfe9f2057840d0384eec5944a27f11 /conf | |
parent | 552a297a498c2fc0c1fb53bae4d4ad76a165e807 (diff) | |
download | aur-c89bf51af26003d01fb73eece3899c2b6e97e7bd.tar.gz aur-c89bf51af26003d01fb73eece3899c2b6e97e7bd.tar.xz |
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>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/fcgiwrap.service.proto | 11 | ||||
-rw-r--r-- | conf/fcgiwrap.socket.proto | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/conf/fcgiwrap.service.proto b/conf/fcgiwrap.service.proto new file mode 100644 index 00000000..c4e85448 --- /dev/null +++ b/conf/fcgiwrap.service.proto @@ -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 diff --git a/conf/fcgiwrap.socket.proto b/conf/fcgiwrap.socket.proto new file mode 100644 index 00000000..a1bc8260 --- /dev/null +++ b/conf/fcgiwrap.socket.proto @@ -0,0 +1,11 @@ +[Unit] +Description=fcgiwrap Socket + +[Socket] +ListenStream=/run/fcgiwrap.sock +SocketUser=http +SocketGroup=http +SocketMode=0700 + +[Install] +WantedBy=sockets.target |