15 lines
475 B
Desktop File
15 lines
475 B
Desktop File
[Unit]
|
|
Description=nginx - high performance web server
|
|
Documentation=http://nginx.org/en/docs/
|
|
After=network-online.target remote-fs.target nss-lookup.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
PIDFile=/var/run/nginx.pid
|
|
ExecStart=/usr/sbin/nginx-debug -c /etc/nginx/nginx.conf
|
|
ExecReload=/bin/sh -c "/bin/kill -s HUP $(/bin/cat /var/run/nginx.pid)"
|
|
ExecStop=/bin/sh -c "/bin/kill -s TERM $(/bin/cat /var/run/nginx.pid)"
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|