mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
commit
7e5fe5ac8e
2 changed files with 11 additions and 2 deletions
|
|
@ -15,9 +15,14 @@ if [ -n "$NEXTCLOUD_EXEC_COMMANDS" ]; then
|
||||||
else
|
else
|
||||||
# Collabora must work also if using manual-install
|
# Collabora must work also if using manual-install
|
||||||
if [ "$COLLABORA_ENABLED" = yes ]; then
|
if [ "$COLLABORA_ENABLED" = yes ]; then
|
||||||
echo "Activating collabora config..."
|
echo "Activating Collabora config..."
|
||||||
php /var/www/html/occ richdocuments:activate-config
|
php /var/www/html/occ richdocuments:activate-config
|
||||||
fi
|
fi
|
||||||
|
# OnlyOffice must work also if using manual-install
|
||||||
|
if [ "$ONLYOFFICE_ENABLED" = yes ]; then
|
||||||
|
echo "Activating OnlyOffice config..."
|
||||||
|
php /var/www/html/occ onlyoffice:documentserver --check
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sleep inf
|
sleep inf
|
||||||
|
|
|
||||||
|
|
@ -305,7 +305,7 @@
|
||||||
],
|
],
|
||||||
"restart": "unless-stopped",
|
"restart": "unless-stopped",
|
||||||
"nextcloud_exec_commands": [
|
"nextcloud_exec_commands": [
|
||||||
"echo 'Activating collabora config...'",
|
"echo 'Activating Collabora config...'",
|
||||||
"php /var/www/html/occ richdocuments:activate-config"
|
"php /var/www/html/occ richdocuments:activate-config"
|
||||||
],
|
],
|
||||||
"profiles": [
|
"profiles": [
|
||||||
|
|
@ -563,6 +563,10 @@
|
||||||
"ONLYOFFICE_SECRET"
|
"ONLYOFFICE_SECRET"
|
||||||
],
|
],
|
||||||
"restart": "unless-stopped",
|
"restart": "unless-stopped",
|
||||||
|
"nextcloud_exec_commands": [
|
||||||
|
"echo 'Activating OnlyOffice config...'",
|
||||||
|
"php /var/www/html/occ onlyoffice:documentserver --check"
|
||||||
|
],
|
||||||
"profiles": [
|
"profiles": [
|
||||||
"onlyoffice"
|
"onlyoffice"
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue