summarylogtreecommitdiffstats
path: root/spawn-fcgi-php.service
diff options
context:
space:
mode:
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 00000000000..fa80d5a2436
--- /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