summaryrefslogtreecommitdiff
path: root/hosts/station/systemd/fcgiwrap.service
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/station/systemd/fcgiwrap.service')
-rw-r--r--hosts/station/systemd/fcgiwrap.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/hosts/station/systemd/fcgiwrap.service b/hosts/station/systemd/fcgiwrap.service
new file mode 100644
index 0000000..f36f65f
--- /dev/null
+++ b/hosts/station/systemd/fcgiwrap.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Simple CGI Server
+Documentation=man:fcgiwrap(8)
+After=nss-user-lookup.target
+Requires=fcgiwrap.socket
+
+[Service]
+Environment=DAEMON_OPTS=-f
+EnvironmentFile=-/etc/default/fcgiwrap
+ExecStart=/usr/sbin/fcgiwrap $DAEMON_OPTS
+User=www-data
+Group=www-data
+
+[Install]
+Also=fcgiwrap.socket