Skip to content

Commit

Permalink
feat: Add scripts to expand config and update settings for Nextcloud …
Browse files Browse the repository at this point in the history
…module
  • Loading branch information
stephdl committed Sep 5, 2024
1 parent 6c3a66d commit 525712f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions imageroot/update-module.d/10expand_config
12 changes: 12 additions & 0 deletions imageroot/update-module.d/90update_settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

#
# Copyright (C) 2024 Nethesis S.r.l.
# SPDX-License-Identifier: GPL-3.0-or-later
#

# set trusted proxies to avoid warnings
occ config:system:set trusted_proxies 0 --value='127.0.0.1'

# set maintenance window start (maintenance cron will run at 1:00)
occ config:system:set maintenance_window_start --value=1 --type=integer

0 comments on commit 525712f

Please sign in to comment.