]>
Commit | Line | Data |
---|---|---|
d323480a JK |
1 | [Unit] |
2 | Description=Nginx Web Server (standard version) | |
3 | After=syslog.target network.target remote-fs.target nss-lookup.target | |
4 | ||
5 | [Service] | |
6 | Type=forking | |
61cffbcc ER |
7 | PIDFile=/var/run/nginx.pid |
8 | ExecStartPre=/usr/sbin/nginx -c /etc/nginx/nginx.conf -t | |
9 | ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf | |
10 | ExecReload=/usr/sbin/nginx -c /etc/nginx/nginx.conf -s reload | |
11 | ExecStop=/usr/sbin/nginx -c /etc/nginx/nginx.conf -s stop | |
d323480a JK |
12 | |
13 | [Install] | |
14 | WantedBy=multi-user.target |