added option...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-12-12 17:39:27 +03:00
parent 8185b0608a
commit 116a44d0ce

View File

@ -19,6 +19,7 @@ readConfig
webAppConfig Nextcloud webAppConfig Nextcloud
DFL_ID=${DFL_ID:=1000} DFL_ID=${DFL_ID:=1000}
DFL_CTHOSTNAME=${DFL_CTHOSTNAME:=nextcloud} DFL_CTHOSTNAME=${DFL_CTHOSTNAME:=nextcloud}
@ -41,6 +42,9 @@ LAN_GATE=SKIP
REBOOT=${REBOOT:=1} REBOOT=${REBOOT:=1}
# XXX should we ask??
COLLABORA_OFFICE=${COLLABORA_OFFICE:=1}
readVars readVars
# Nextcloud-specific configuration... # Nextcloud-specific configuration...
@ -128,8 +132,8 @@ pctPushAssets $ID
# XXX need to push proxy config to gate... # XXX need to push proxy config to gate...
# Colabora... # Colabora...
if false ; then if ! [ -z $COLLABORA_OFFICE ] ; then
echo "# Colabora office..." echo "# Collabora office..."
# apache2... # apache2...
@ lxc-attach $ID -- a2enmod proxy @ lxc-attach $ID -- a2enmod proxy
@ lxc-attach $ID -- a2enmod proxy_http @ lxc-attach $ID -- a2enmod proxy_http