mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
18 lines
359 B
Text
18 lines
359 B
Text
|
[Unit]
|
||
|
Description=A high performance web server and a reverse proxy server
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
PIDFile=/run/nginx.pid
|
||
|
PrivateDevices=yes
|
||
|
SyslogLevel=err
|
||
|
|
||
|
ExecStart=/usr/bin/nginx -g 'pid /run/nginx.pid; error_log stderr;'
|
||
|
ExecReload=/usr/bin/kill -HUP $MAINPID
|
||
|
KillSignal=SIGQUIT
|
||
|
KillMode=mixed
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|