summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-08-26 10:32:25 +0100
committerJoe Carstairs <me@joeac.net>2026-08-26 10:32:25 +0100
commit5923720b9a3168fbc7f7a5ea31107cd2fc82d826 (patch)
tree7cfb99405ad5d7e9165d34953aa215a6d6b24c70
parent690f218cbdf89327408ea75f2d21fde257a29411 (diff)
apk -U upgrade not apk upgrade when updating nginx, fcgiwrap
-rw-r--r--roles/fcgiwrap/files/update_fcgiwrap2
-rw-r--r--roles/nginx/files/update_nginx2
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" ]