summarylogtreecommitdiffstats
path: root/hhvm@.service
diff options
context:
space:
mode:
authorYen Chi Hsuan2015-06-14 20:39:30 +0800
committerYen Chi Hsuan2015-06-14 20:40:24 +0800
commit977d93dfe243610b25d14af6e238a02cad330b96 (patch)
tree890d5c1d29090ed736aca362ea698a7421a3b513 /hhvm@.service
downloadaur-977d93dfe243610b25d14af6e238a02cad330b96.tar.gz
Initial import
Diffstat (limited to 'hhvm@.service')
-rw-r--r--hhvm@.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/hhvm@.service b/hhvm@.service
new file mode 100644
index 000000000000..ee30f6caa4cf
--- /dev/null
+++ b/hhvm@.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=HHVM FastCGI application server
+After=syslog.target network.target
+
+[Service]
+EnvironmentFile=/etc/hhvm/systemd-%I.conf
+
+PIDFile=/run/hhvm/hhvm-%I.pid
+PrivateTmp=true
+ExecStart=/usr/bin/hhvm --mode server --config=/etc/hhvm/%I.ini --user ${User} -vPidFile=/run/hhvm/hhvm-%I.pid
+
+[Install]
+WantedBy=multi-user.target