2012-02-22 15:15:49 +00:00
|
|
|
[Unit]
|
|
|
|
Description=A high performance web server and reverse proxy server
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
2012-03-04 16:40:09 +00:00
|
|
|
PIDFile=/var/run/nginx.pid
|
2012-02-22 15:15:49 +00:00
|
|
|
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
|
|
|
|
ExecStop=/usr/sbin/nginx -s quit
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|