summaryrefslogtreecommitdiff
path: root/pcr/nginx-passenger/service
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-26 22:31:10 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-26 22:50:35 +0100
commit8572555312ce7b217ac15524ec0d252b46f8fb33 (patch)
treee7a439affa0c646d2d014aa8bcf88554b9c5af34 /pcr/nginx-passenger/service
parentdec087d1f8c2f7f2e77eb32f2d754fcc7fe652ae (diff)
downloadabslibre-8572555312ce7b217ac15524ec0d252b46f8fb33.tar.gz
abslibre-8572555312ce7b217ac15524ec0d252b46f8fb33.tar.bz2
abslibre-8572555312ce7b217ac15524ec0d252b46f8fb33.zip
pcr/nginx-passenger: updated to 1.12.1.passenger.5.1.6
Diffstat (limited to 'pcr/nginx-passenger/service')
-rw-r--r--pcr/nginx-passenger/service13
1 files changed, 5 insertions, 8 deletions
diff --git a/pcr/nginx-passenger/service b/pcr/nginx-passenger/service
index adfe6c0ab..84e3136ea 100644
--- a/pcr/nginx-passenger/service
+++ b/pcr/nginx-passenger/service
@@ -1,17 +1,14 @@
[Unit]
Description=A high performance web server and a reverse proxy server
-After=network.target
+After=network.target network-online.target nss-lookup.target
[Service]
Type=forking
PIDFile=/run/nginx.pid
-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
+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