13 lines
340 B
Plaintext
13 lines
340 B
Plaintext
[Unit]
|
|
Description=The nginx HTTP and reverse proxy server
|
|
After=network.target remote-fs.target nss-lookup.target
|
|
|
|
[Service]
|
|
ExecStartPre=<%= node['nginx']['binary'] %> -t
|
|
ExecStart=<%= node['nginx']['binary'] %>
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
ExecStop=/bin/kill -s QUIT $MAINPID
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |