Skip to content

Commit

Permalink
Fix OO
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <szaimen@e.mail.de>
  • Loading branch information
szaimen committed Aug 24, 2023
1 parent a592288 commit 4fa2683
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Containers/nextcloud/run-exec-commands.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@ if [ -n "$NEXTCLOUD_EXEC_COMMANDS" ]; then
else
# Collabora must work also if using manual-install
if [ "$COLLABORA_ENABLED" = yes ]; then
echo "Activating collabora config..."
echo "Activating Collabora config..."
php /var/www/html/occ richdocuments:activate-config
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

sleep inf
6 changes: 5 additions & 1 deletion php/containers.json
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@
],
"restart": "unless-stopped",
"nextcloud_exec_commands": [
"echo 'Activating collabora config...'",
"echo 'Activating Collabora config...'",
"php /var/www/html/occ richdocuments:activate-config"
],
"profiles": [
Expand Down Expand Up @@ -563,6 +563,10 @@
"ONLYOFFICE_SECRET"
],
"restart": "unless-stopped",
"nextcloud_exec_commands": [
"echo 'Activating OnlyOffice config...'",
"php /var/www/html/occ onlyoffice:documentserver --check"
],
"profiles": [
"onlyoffice"
],
Expand Down

0 comments on commit 4fa2683

Please sign in to comment.