nginx: Verhindere die Installation von nginx-full wenn eine andere Version bereits installiert ist
This commit is contained in:
parent
c9ed568d78
commit
2de94ae68c
2 changed files with 2 additions and 2 deletions
|
@ -3,4 +3,4 @@
|
|||
apt:
|
||||
pkg:
|
||||
- liblwp-useragent-determined-perl
|
||||
- nginx-full
|
||||
- "{{ nginx.version | default(nginx-full) }}"
|
||||
|
|
|
@ -4,5 +4,5 @@ check process nginx with pidfile /var/run/nginx.pid
|
|||
group webserver
|
||||
start program = "/usr/sbin/service nginx start"
|
||||
stop program = "/usr/sbin/service nginx stop"
|
||||
if failed host 127.0.0.1 port {{ nginx_port |default(80) }} for 3 cycles then restart
|
||||
if failed host 127.0.0.1 port {{ nginx.port |default(80) }} for 3 cycles then restart
|
||||
if 5 restarts with 5 cycles then timeout
|
||||
|
|
Loading…
Reference in a new issue