boring-nginx: change pid path

This commit is contained in:
Hardware committed 2016-09-25 22:13:32 +02:00
1 parent 87b57a74f3
commit 093dcf7a11
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
worker_processes auto;
pid /var/run/nginx.pid;
pid /tmp/nginx.pid;
daemon off;
pcre_jit on;
+1 -2
View File
@@ -1,5 +1,4 @@
#!/bin/sh
touch /var/run/nginx.pid
chown -R $UID:$GID /etc/nginx /var/log/nginx /var/run/nginx.pid /sites-enabled /conf.d /certs /www /tmp
chown -R $UID:$GID /etc/nginx /var/log/nginx /sites-enabled /conf.d /certs /www /tmp
chmod -R 700 /certs
exec su-exec $UID:$GID /sbin/tini -- nginx