17 lines
497 B
Desktop File
17 lines
497 B
Desktop File
[Unit]
|
|
Description=The-World-Is-Yours - Nginx L7 Anti-DDoS
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
PIDFile=/var/run/nginx.pid
|
|
ExecStartPre=/usr/sbin/nginx -t -q -g 'daemon on; master_process on;'
|
|
ExecStart=/usr/sbin/nginx -g 'daemon on; master_process on;'
|
|
ExecReload=/usr/sbin/nginx -g 'daemon on; master_process on;' -s reload
|
|
ExecStop=-/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /var/run/nginx.pid
|
|
TimeoutStopSec=5
|
|
KillMode=mixed
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|