2 Description=A high performance web server and a reverse proxy server
3 After=syslog.target network.target
7 PIDFile=/var/run/nginx.pid
8 ExecStartPre=/usr/bin/mkdir -p /var/log/nginx /var/tmp/nginx
9 ExecStartPre=/usr/sbin/nginx -t -q -g 'pid /var/run/nginx.pid; daemon on; master_process on;'
10 ExecStart=/usr/sbin/nginx -g 'pid /var/run/nginx.pid; daemon on; master_process on;'
11 ExecReload=/usr/sbin/nginx -g 'pid /var/run/nginx.pid; daemon on; master_process on;' -s reload
12 ExecStop=/usr/sbin/nginx -g 'pid /var/run/nginx.pid;' -s quit
16 WantedBy=multi-user.target