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:
authorthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-09-27 12:40:15 +0300
committerthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-09-27 21:20:48 +0300
commitb990f91bb68f5144bee992a80ca6bfff1d8be3e4 (patch)
tree8662a89469d119c84e1d47745f2a6011e46d5093 /updates
parentfb8414fa640042430c0e3035151d64fd3da77c14 (diff)
1.50.1.sh: clear opcache once more, as that process was broken for some users in v1.50.0
Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
Diffstat (limited to 'updates')
-rw-r--r--updates/1.50.1.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/updates/1.50.1.sh b/updates/1.50.1.sh
index 042f9305..a440ff07 100644
--- a/updates/1.50.1.sh
+++ b/updates/1.50.1.sh
@@ -1,6 +1,11 @@
#!/bin/bash
set -e
+export NCPCFG=/usr/local/etc/ncp.cfg
source /usr/local/etc/library.sh
install_template systemd/notify_push.service.sh /etc/systemd/system/notify_push.service
+
+
+clear_opcache
+bash -c "sleep 6; service php${PHPVER}-fpm restart" &>/dev/null &