nextcloudpi/updates/1.50.1.sh
Tobias Knöppler 362c8288f5
Remove unnecessary clear_opcache calls, as opcache is now disabled for cli
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
2023-01-22 01:21:08 +01:00

10 lines
294 B
Bash

#!/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
bash -c "sleep 6; source /usr/local/etc/library.sh; clear_opcache; service php${PHPVER}-fpm reload" &>/dev/null &