summaryrefslogtreecommitdiff
path: root/pcr/nginx-passenger/service
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-03-02 21:50:36 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-03-02 21:50:36 -0500
commitbcb7613c18d8fade15448d141e9420cdc1736787 (patch)
tree04e128ec813153f3363c5d07b62a76ac630b65af /pcr/nginx-passenger/service
parent46683a9da9d3c7f1e108f0eb2f429eafdeb37937 (diff)
downloadabslibre-bcb7613c18d8fade15448d141e9420cdc1736787.tar.gz
abslibre-bcb7613c18d8fade15448d141e9420cdc1736787.tar.bz2
abslibre-bcb7613c18d8fade15448d141e9420cdc1736787.zip
add pcr/nginx-passenger
Diffstat (limited to 'pcr/nginx-passenger/service')
-rw-r--r--pcr/nginx-passenger/service14
1 files changed, 14 insertions, 0 deletions
diff --git a/pcr/nginx-passenger/service b/pcr/nginx-passenger/service
new file mode 100644
index 000000000..29d3aa877
--- /dev/null
+++ b/pcr/nginx-passenger/service
@@ -0,0 +1,14 @@
+[Unit]
+Description=A high performance web server and a reverse proxy server
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/run/nginx.pid
+ExecStartPre=/usr/bin/nginx -t -q -g 'pid /run/nginx.pid; daemon on; master_process on;'
+ExecStart=/usr/bin/nginx -g 'pid /run/nginx.pid; daemon on; master_process on;'
+ExecReload=/usr/bin/nginx -g 'pid /run/nginx.pid; daemon on; master_process on;' -s reload
+ExecStop=/usr/bin/nginx -g 'pid /run/nginx.pid;' -s quit
+
+[Install]
+WantedBy=multi-user.target