diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-09-28 00:28:29 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-09-28 00:28:29 -0400 |
commit | 77b540c3dd5583081493304a0481808cd5cb0c03 (patch) | |
tree | 5cd49e3047dc0f6551ac8ca659ac6fb2929e2cef /pcr/nginx-passenger/service | |
parent | 680eb08892d1e6f49e7f5dad41908075fd943156 (diff) |
Update pcr/nginx-passenger
Diffstat (limited to 'pcr/nginx-passenger/service')
-rw-r--r-- | pcr/nginx-passenger/service | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pcr/nginx-passenger/service b/pcr/nginx-passenger/service index 29d3aa877..adfe6c0ab 100644 --- a/pcr/nginx-passenger/service +++ b/pcr/nginx-passenger/service @@ -1,14 +1,17 @@ [Unit] Description=A high performance web server and a reverse proxy server -After=syslog.target network.target +After=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 +PrivateDevices=yes +SyslogLevel=err + +ExecStart=/usr/bin/nginx -g 'pid /run/nginx.pid; error_log stderr;' +ExecReload=/usr/bin/kill -HUP $MAINPID +KillSignal=SIGQUIT +KillMode=mixed [Install] WantedBy=multi-user.target |