| Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Nginx Server | ||||
| 3 | After=network.target | ||||
| 4 | [Service] | ||||
| 5 | Type=forking | ||||
| Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 6 | PIDFile=/run/nginx/nginx.pid |
| 7 | ExecStart=@SBINDIR@/nginx | ||||
| 8 | ExecStop=@SBINDIR@/nginx -s stop | ||||
| 9 | ExecReload=@SBINDIR@/nginx -s reload | ||||
| Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 10 | [Install] |
| 11 | WantedBy=multi-user.target | ||||