nginx-ilves/service

18 lines
435 B
Plaintext
Raw Permalink Normal View History

2017-01-19 17:48:24 +02:00
[Unit]
Description=A high performance web server and a reverse proxy server
2017-08-14 10:28:47 +03:00
After=network.target network-online.target nss-lookup.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/sh -c '/usr/bin/nginx -t && /usr/bin/nginx -s reload'
2017-04-14 16:51:33 +03:00
KillSignal=SIGQUIT
KillMode=mixed
2017-01-19 17:48:24 +02:00
[Install]
WantedBy=multi-user.target