Skip to content

Commit

Permalink
Add configuration parameter to systemd test command
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelaferreira committed Mar 18, 2016
1 parent 02e9c09 commit ea64820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/systemd/nginx.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ After=network.target remote-fs.target nss-lookup.target
[Service]
Type=forking
PIDFile=/run/<%= @nginx_instance_name %>.pid
ExecStartPre=/usr/sbin/nginx -t
ExecStartPre=/usr/sbin/nginx -t -c /etc/<%= @nginx_instance_name %>/nginx.conf
ExecStart=/usr/sbin/nginx -c /etc/<%= @nginx_instance_name %>/nginx.conf
ExecReload=/bin/kill -s HUP $MAINPID
KillMode=process
Expand Down

0 comments on commit ea64820

Please sign in to comment.