summarylogtreecommitdiffstats
path: root/spawn-fcgi-php.service
diff options
context:
space:
mode:
authorPiotr Rogoża2015-06-14 15:06:00 +0200
committerPiotr Rogoża2015-06-14 15:06:00 +0200
commit719ead9a2e785c67f7701bd56326f9cb8bceb66a (patch)
treeb122af7ad80d83dba48756859490255d8ca14893 /spawn-fcgi-php.service
downloadaur-719ead9a2e785c67f7701bd56326f9cb8bceb66a.tar.gz
Initial import
Diffstat (limited to 'spawn-fcgi-php.service')
-rw-r--r--spawn-fcgi-php.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/spawn-fcgi-php.service b/spawn-fcgi-php.service
new file mode 100644
index 000000000000..fa80d5a24365
--- /dev/null
+++ b/spawn-fcgi-php.service
@@ -0,0 +1,14 @@
+# vi: ft=systemd
+[Unit]
+Description=Script to provide simple cgi-php support for nginx http daemon
+After=syslog.target network.target
+
+[Service]
+Type=forking
+EnvironmentFile=/etc/conf.d/spawn-fcgi-php.conf
+ExecStart=/usr/lib/systemd/scripts/spawn-fcgi-php start
+ExecStop=/usr/lib/systemd/scripts/spawn-fcgi-php stop
+ExecReload=/usr/lib/systemd/scripts/spawn-fcgi-php restart
+
+[Install]
+WantedBy=multi-user.target