Skip to content

Commit

Permalink
Correct nginx PID
Browse files Browse the repository at this point in the history
There was a mismatch between the configured nginx PID file and the file used by logrotate to restart nginx after rotation.

Fixes #4231
  • Loading branch information
Melpa committed Sep 24, 2016
1 parent 5b59be8 commit e4af1e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion service/nginx-stable/config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
worker_processes 4;
pid /home/melpa/var/run/nginx2.pid;
pid /home/melpa/var/run/nginx.pid;
daemon off;

events {
Expand Down
2 changes: 1 addition & 1 deletion service/nginx/config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
worker_processes 4;
pid /home/melpa/var/run/nginx2.pid;
pid /home/melpa/var/run/nginx.pid;
daemon off;

events {
Expand Down

0 comments on commit e4af1e2

Please sign in to comment.