summarylogtreecommitdiffstats
path: root/nginx.service
blob: 9a905d4bd1c2b37986c504cfffc8e303584f3358 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=A high performance web server and a reverse proxy server

[Service]
Type=forking
PIDFile=nginx.pid
SyslogLevel=err

ExecStart=nginx -g 'pid "%t/nginx.pid"; error_log stderr;' -c '%E/nginx/nginx.conf' -p '%D/nginx'
ExecReload=nginx -g 'pid "%t/nginx.pid";' -s reload
KillMode=mixed

[Install]
WantedBy=default.target