13 lines
431 B
INI
13 lines
431 B
INI
[Unit]
|
|
Description=nginx - high performance web server
|
|
Documentation=https://nginx.org/en/docs/
|
|
After=wg-quick@wg0.service
|
|
Wants=network-online.target
|
|
[Service]
|
|
Type=forking
|
|
PIDFile=/var/run/nginx.pid
|
|
ExecStart=/usr/sbin/nginx -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 |