2024-02-19 21:13:12 -05:00
|
|
|
[Unit]
|
|
|
|
Description=A high performance web server and a reverse proxy server
|
|
|
|
After=network-online.target remote-fs.target nss-lookup.target
|
|
|
|
Wants=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
PIDFile=/run/nginx.pid
|
|
|
|
PrivateDevices=yes
|
|
|
|
PrivateTmp=true
|
|
|
|
SyslogLevel=err
|
|
|
|
|
2024-03-25 05:47:19 -04:00
|
|
|
ExecStart=/opt/nginx/bin/nginx
|
|
|
|
ExecReload=/opt/nginx/bin/nginx -s reload
|
|
|
|
Environment=LD_LIBRARY_PATH=/opt/nginx/lib
|
2024-02-19 21:13:12 -05:00
|
|
|
Restart=on-failure
|
|
|
|
KillMode=mixed
|
|
|
|
KillSignal=SIGQUIT
|
|
|
|
TimeoutStopSec=5
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|