Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-03-10 03:44:56 +0300
committernachoparker <nacho@ownyourbits.com>2019-03-11 08:39:01 +0300
commit0c95243d8f16364bb0a60760b9460bcf4ebd7aab (patch)
tree9cb37c6d18ccf2ba577db831e0f075dc82dba20b /update.sh
parent6eecf132ff071ba11bdba300345a60b6221ff7b0 (diff)
unattended upgrades: update labelsv1.9.4
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh3
1 files changed, 3 insertions, 0 deletions
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 )"