ArchLinux defines the pidfile in the systemd unit file.
It is therefore no longer needed in nginx.conf.
This commit is contained in:
parent
179f26a45f
commit
10d030c4bc
|
@ -1,7 +1,9 @@
|
|||
user {{ nginx_user }};
|
||||
|
||||
error_log {{ nginx_error_log }};
|
||||
{% if nginx_pidfile is defined and nginx_pidfile | length > 0 %}
|
||||
pid {{ nginx_pidfile }};
|
||||
{% endif %}
|
||||
|
||||
{% block worker %}
|
||||
worker_processes {{ nginx_worker_processes }};
|
||||
|
|
|
@ -3,7 +3,7 @@ root_group: root
|
|||
nginx_conf_path: /etc/nginx/conf.d
|
||||
nginx_conf_file_path: /etc/nginx/nginx.conf
|
||||
nginx_mime_file_path: /etc/nginx/mime.types
|
||||
nginx_pidfile: /run/nginx.pid
|
||||
nginx_pidfile: ''
|
||||
nginx_vhost_path: /etc/nginx/sites-enabled
|
||||
nginx_default_vhost_path: /etc/nginx/sites-enabled/default
|
||||
__nginx_user: "http"
|
||||
|
|
Loading…
Reference in New Issue