[Unit]
Description=nginx web server
After=network-online.target remote-fs.target nss-lookup.target
Wants=network-online.target

[Service]
Type=forking
PrivateDevices=yes
PrivateTmp=true
SyslogLevel=err

ExecStart=/usr/sbin/nginx
ExecReload=/usr/sbin/nginx -s reload
Restart=on-failure
KillMode=mixed
KillSignal=SIGQUIT
TimeoutStopSec=5
RuntimeDirectory=nginx
StateDirectory=nginx

[Install]
WantedBy=multi-user.target
