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]
|
|
|
|
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
|
|
|
|
ExecStop=/bin/kill -s QUIT $MAINPID
|
2014-01-30 07:19:31 +01:00
|
|
|
PrivateTmp=true
|
2012-10-19 09:39:44 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|