diff options
| -rw-r--r-- | roles/fcgiwrap/files/update_fcgiwrap | 2 | ||||
| -rw-r--r-- | roles/nginx/files/update_nginx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/fcgiwrap/files/update_fcgiwrap b/roles/fcgiwrap/files/update_fcgiwrap index f371b5d..a4ec921 100644 --- a/roles/fcgiwrap/files/update_fcgiwrap +++ b/roles/fcgiwrap/files/update_fcgiwrap @@ -1,6 +1,6 @@ #!/bin/sh -apk upgrade +apk -U upgrade fcgiwrap_pid="$(pgrep fcgiwrap | head -n 1)" if [ -z "$fcgiwrap_pid" ] diff --git a/roles/nginx/files/update_nginx b/roles/nginx/files/update_nginx index cf6ee6f..7a21a63 100644 --- a/roles/nginx/files/update_nginx +++ b/roles/nginx/files/update_nginx @@ -1,6 +1,6 @@ #!/bin/sh -apk upgrade +apk -U upgrade nginx_pid="$(pgrep nginx:\ master\ process)" if [ -z "$nginx_pid" ] |
