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