Minor change to systemd service file

This commit is contained in:
Jamie Nguyen 2012-03-04 16:40:09 +00:00
parent a28f6d63b2
commit 516ea18ba1
2 changed files with 5 additions and 2 deletions

View File

@ -3,7 +3,7 @@ Description=A high performance web server and reverse proxy server
[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=/usr/sbin/nginx -c /etc/nginx/nginx.conf -s reload

View File

@ -10,7 +10,7 @@
Name: nginx
Epoch: 1
Version: 1.0.12
Release: 3%{?dist}
Release: 4%{?dist}
Summary: A high performance web server and reverse proxy server
Group: System Environment/Daemons
@ -212,6 +212,9 @@ fi
%changelog
* Sun Mar 04 2012 Jamie Nguyen <jamie@tomoyolinux.co.uk> 1:1.0.12-4
- minor change to systemd service file
* Sun Mar 04 2012 Jamie Nguyen <jamie@tomoyolinux.co.uk> 1:1.0.12-3
- fix %%pre scriptlet