diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-02 21:50:36 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-02 21:50:36 -0500 |
commit | bcb7613c18d8fade15448d141e9420cdc1736787 (patch) | |
tree | 04e128ec813153f3363c5d07b62a76ac630b65af /pcr/nginx-passenger/service | |
parent | 46683a9da9d3c7f1e108f0eb2f429eafdeb37937 (diff) | |
download | abslibre-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/service | 14 |
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 |