commit | d44674306eb1608b0278155f767d29ded407aa00 | [log] [tgz] |
---|---|---|
author | Konstantin Pavlov <thresh@nginx.com> | Wed Jun 07 14:49:07 2017 +0300 |
committer | Konstantin Pavlov <thresh@nginx.com> | Wed Jun 07 14:49:07 2017 +0300 |
tree | 7a1b9c160c914df577f944e33f3bb81779876d08 | |
parent | 6431f22e6b2a180b0e0347af4d6652cb8a963765 [diff] |
rpm: made pid file paths consistent. Refs: https://trac.nginx.org/nginx/ticket/1178 Refs: https://trac.nginx.org/nginx/ticket/1069 Refs: https://trac.nginx.org/nginx/ticket/796
diff --git a/rpm/SOURCES/nginx-debug.service b/rpm/SOURCES/nginx-debug.service index 94dd62b..881201e 100644 --- a/rpm/SOURCES/nginx-debug.service +++ b/rpm/SOURCES/nginx-debug.service
@@ -5,7 +5,7 @@ [Service] Type=forking -PIDFile=/run/nginx.pid +PIDFile=/var/run/nginx.pid ExecStartPre=/usr/sbin/nginx-debug -t -c /etc/nginx/nginx.conf ExecStart=/usr/sbin/nginx-debug -c /etc/nginx/nginx.conf ExecReload=/bin/kill -s HUP $MAINPID
diff --git a/rpm/SOURCES/nginx.service b/rpm/SOURCES/nginx.service index 0da9c44..408fccd 100644 --- a/rpm/SOURCES/nginx.service +++ b/rpm/SOURCES/nginx.service
@@ -6,7 +6,7 @@ [Service] Type=forking -PIDFile=/run/nginx.pid +PIDFile=/var/run/nginx.pid ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf ExecReload=/bin/kill -s HUP $MAINPID