mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
15 lines
513 B
Text
15 lines
513 B
Text
|
[Unit]
|
||
|
Description=A high performance web server and a reverse proxy server
|
||
|
After=syslog.target network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
PIDFile=/run/nginx.pid
|
||
|
ExecStartPre=/usr/bin/nginx -t -q -g 'pid /run/nginx.pid; daemon on; master_process on;'
|
||
|
ExecStart=/usr/bin/nginx -g 'pid /run/nginx.pid; daemon on; master_process on;'
|
||
|
ExecReload=/usr/bin/nginx -g 'pid /run/nginx.pid; daemon on; master_process on;' -s reload
|
||
|
ExecStop=/usr/bin/nginx -g 'pid /run/nginx.pid;' -s quit
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|