Skip to content

Commit 33af0ed

Browse files
committed
1.51.0.sh: Make sure, Changes to opcache.ini are in effect
Signed-off-by: Tobias Knöppler <[email protected]>
1 parent 362c828 commit 33af0ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

updates/1.51.0.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ dpkg -l | grep -e '^ii' | grep -e 'php-json' > /dev/null && {
1010

1111
echo "Updating opcache configuration..."
1212
install_template "php/opcache.ini.sh" "/etc/php/${PHPVER}/mods-available/opcache.ini"
13-
run_app "clear-php-opcache"
1413

1514
dpkg -l | grep -e '^ii' | grep -e 'php8.2' > /dev/null && {
1615
msg="PHP 8.2 packages have been detected on your ncp instance, which could cause issues. If you didn't install them on purpose, please remove them with the following command: sudo apt remove php8.2-*"
1716
echo -e "$msg"
1817
notify_admin "NextcloudPi" "$msg"
1918
}
2019

20+
bash -c "sleep 5; source /usr/local/etc/library.sh; clear_opcache; service php${PHPVER}-fpm restart;" &> /dev/null &
21+
2122
exit 0

0 commit comments

Comments
 (0)