2017-01-19 17:48:24 +02:00
|
|
|
[Unit]
|
|
|
|
Description=A high performance web server and a reverse proxy server
|
2017-04-14 16:51:33 +03:00
|
|
|
After=network.target
|
2017-01-19 17:48:24 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
PIDFile=/run/nginx.pid
|
2017-04-14 16:51:33 +03:00
|
|
|
PrivateDevices=yes
|
|
|
|
SyslogLevel=err
|
|
|
|
|
|
|
|
ExecStart=/usr/bin/nginx -g 'pid /run/nginx.pid; error_log stderr;'
|
|
|
|
ExecReload=/usr/bin/nginx -s reload
|
|
|
|
KillSignal=SIGQUIT
|
|
|
|
KillMode=mixed
|
2017-01-19 17:48:24 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|