From 0c95243d8f16364bb0a60760b9460bcf4ebd7aab Mon Sep 17 00:00:00 2001 From: nachoparker Date: Sat, 9 Mar 2019 17:44:56 -0700 Subject: unattended upgrades: update labels --- update.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'update.sh') diff --git a/update.sh b/update.sh index 5774df13..8f2e4f18 100755 --- a/update.sh +++ b/update.sh @@ -198,6 +198,9 @@ EOF bash -c "sleep 3 && service php$PHPVER-fpm restart" & } + # update unattended labels + is_active_app unattended-upgrades && run_app unattended-upgrades + # remove redundant opcache configuration. Leave until update bug is fixed -> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815968 # Bug #416 reappeared after we moved to php7.2 and debian buster packages. (keep last) [[ "$( ls -l /etc/php/7.2/fpm/conf.d/*-opcache.ini | wc -l )" -gt 1 ]] && rm "$( ls /etc/php/7.2/fpm/conf.d/*-opcache.ini | tail -1 )" -- cgit v1.2.3