PKGBUILDs/extra/nginx/nginx.service

22 lines
435 B
SYSTEMD
Raw Normal View History

2014-10-17 03:36:58 +00:00
[Unit]
Description=A high performance web server and a reverse proxy server
2023-09-16 14:22:34 +00:00
After=network-online.target remote-fs.target nss-lookup.target
Wants=network-online.target
2014-10-17 03:36:58 +00:00
[Service]
Type=forking
PIDFile=/run/nginx.pid
PrivateDevices=yes
2023-09-16 14:22:34 +00:00
PrivateTmp=true
2014-10-17 03:36:58 +00:00
SyslogLevel=err
2023-09-16 14:22:34 +00:00
ExecStart=/usr/bin/nginx
2017-03-26 23:33:44 +00:00
ExecReload=/usr/bin/nginx -s reload
2023-09-16 14:22:34 +00:00
Restart=on-failure
2014-10-17 03:36:58 +00:00
KillMode=mixed
2023-09-16 14:22:34 +00:00
KillSignal=SIGQUIT
TimeoutStopSec=5
2014-10-17 03:36:58 +00:00
[Install]
WantedBy=multi-user.target