GMTROM/REST/nginx.service

16 lines
288 B
INI
Raw Permalink Normal View History

[Unit]
Description=Nginx HTTP server
After=network.target
[Service]
ExecStart=/usr/sbin/nginx -g "daemon off;"
ExecReload=/usr/sbin/nginx -s reload
ExecStop=/usr/sbin/nginx -s stop
Restart=on-failure
KillMode=process
PrivateTmp=true
[Install]
WantedBy=multi-user.target