2012-03-31 04:54:18 +04:00
|
|
|
[Unit]
|
|
|
|
Description=A high performance web server and reverse proxy server
|
2015-01-15 16:02:48 +10:00
|
|
|
After=syslog.target network.target remote-fs.target nss-lookup.target
|
2012-03-31 04:54:18 +04:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
2015-01-14 02:56:56 +10:00
|
|
|
PIDFile=/var/run/nginx.pid
|
2012-03-31 04:54:18 +04: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
|