18 lines
356 B
Plaintext
18 lines
356 B
Plaintext
[Unit]
|
|
Description=A high performance web server and a reverse proxy server
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
PIDFile=/run/nginx.pid
|
|
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
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|