From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/fcgiwrap/fcgiwrap.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 community/fcgiwrap/fcgiwrap.service (limited to 'community/fcgiwrap/fcgiwrap.service') 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 -- cgit v1.2.3-54-g00ecf