mirror of
https://src.fedoraproject.org/rpms/nextcloud.git
synced 2025-01-10 10:51:54 +01:00
Fix post install bugs
- Fix CAN_INSTALL permissions - Restart php-fpm
This commit is contained in:
parent
ad714e79e2
commit
63b1c07960
@ -384,8 +384,11 @@ INSTALLED=$(grep -c secret /etc/nextcloud/config.php)
|
|||||||
if [ "${INSTALLED}" -eq "0" ]; then
|
if [ "${INSTALLED}" -eq "0" ]; then
|
||||||
echo "First time installation, enabling installation wizard"
|
echo "First time installation, enabling installation wizard"
|
||||||
touch %{_sysconfdir}/%{name}/CAN_INSTALL
|
touch %{_sysconfdir}/%{name}/CAN_INSTALL
|
||||||
|
chown apache:apache %{_sysconfdir}/%{name}/CAN_INSTALL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
/usr/bin/systemctl restart php-fpm.service > /dev/null 2>&1 || :
|
||||||
|
|
||||||
%post httpd
|
%post httpd
|
||||||
/usr/bin/systemctl reload httpd.service > /dev/null 2>&1 || :
|
/usr/bin/systemctl reload httpd.service > /dev/null 2>&1 || :
|
||||||
/usr/bin/systemctl reload php-fpm.service > /dev/null 2>&1 || :
|
/usr/bin/systemctl reload php-fpm.service > /dev/null 2>&1 || :
|
||||||
|
Loading…
Reference in New Issue
Block a user