2289b6a070
* Add build from source option * Update to Molecule 3.0 * Add service manager to Debian images * Add .gitignore entry for Ansible retry files Co-authored-by: Alessandro Fael Garcia <alessfg@hotmail.com>
16 lines
399 B
Plaintext
16 lines
399 B
Plaintext
[Unit]
|
|
Description=nginx - high performance web server
|
|
Documentation=http://nginx.org/en/docs/
|
|
After=network-online.target remote-fs.target nss-lookup.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
PIDFile=/var/run/nginx.pid
|
|
ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
ExecStop=/bin/kill -s TERM $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|