2012-10-19 09:39:44 +02:00
|
|
|
[Unit]
|
|
|
|
Description=The nginx HTTP and reverse proxy server
|
2014-01-30 07:19:31 +01:00
|
|
|
After=network.target remote-fs.target nss-lookup.target
|
2012-10-19 09:39:44 +02:00
|
|
|
|
|
|
|
[Service]
|
2015-10-16 17:10:00 +02:00
|
|
|
PIDFile=/run/nginx.pid
|
2012-10-19 09:39:44 +02:00
|
|
|
ExecStartPre=/usr/sbin/nginx -t
|
2014-01-30 07:19:31 +01:00
|
|
|
ExecStart=/usr/sbin/nginx -g "daemon off;"
|
2012-10-19 09:39:44 +02:00
|
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
2015-10-16 17:10:00 +02:00
|
|
|
KillSignal=SIGQUIT
|
|
|
|
TimeoutStopSec=5
|
|
|
|
KillMode=mixed
|
2014-01-30 07:19:31 +01:00
|
|
|
PrivateTmp=true
|
2012-10-19 09:39:44 +02:00
|
|
|
|
|
|
|
[Install]
|
2015-10-16 17:10:00 +02:00
|
|
|
WantedBy=multi-user.target
|