bundles/nginx: prepare for arch linux

This commit is contained in:
Franzi 2021-06-01 16:52:03 +02:00
parent 6b90d568cf
commit cf3c45fdd5
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 35 additions and 3 deletions

View file

@ -0,0 +1,9 @@
[Service]
ExecStart=
ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf
ExecReload=
ExecReload=/bin/sh -c "/bin/kill -s HUP $(/bin/cat /var/run/nginx.pid)"
ExecStop=
ExecStop=/bin/sh -c "/bin/kill -s TERM $(/bin/cat /var/run/nginx.pid)"

View file

@ -1,4 +1,4 @@
user www-data;
user ${username};
worker_processes ${worker_processes};
pid /var/run/nginx.pid;