summaryrefslogtreecommitdiff
path: root/community/fcgiwrap/fcgiwrap.service
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-08-20 12:45:35 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-08-20 12:45:35 -0300
commiteb13db73efc6dcc424d687f3c6669cfadc7c9657 (patch)
tree0c62a303b84eb484cc713fd0bb1e56be0995bbcb /community/fcgiwrap/fcgiwrap.service
parenta795c43769d1cb1c19a4fdd66c662e92ab73bf0f (diff)
parent524da814660fa35bca4a24d0faa0a10b7eab5c6f (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: multilib/wine/PKGBUILD
Diffstat (limited to 'community/fcgiwrap/fcgiwrap.service')
-rw-r--r--community/fcgiwrap/fcgiwrap.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/fcgiwrap/fcgiwrap.service b/community/fcgiwrap/fcgiwrap.service
new file mode 100644
index 000000000..f59f18db2
--- /dev/null
+++ b/community/fcgiwrap/fcgiwrap.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Simple server for running CGI applications over FastCGI
+After=syslog.target network.target remote-fs.target nss-lookup.target
+
+[Service]
+Type=forking
+Restart=on-abort
+PIDFile=/var/run/fcgiwrap.pid
+ExecStart=/usr/bin/spawn-fcgi -a 127.0.0.1 -p 9001 -u http -g http -- /usr/sbin/fcgiwrap
+ExecStop=/usr/bin/kill -15 $MAINPID
+
+[Install]
+WantedBy=multi-user.target