From 824762d18d42a46d59835c39943677210c956416 Mon Sep 17 00:00:00 2001 From: David Duque Date: Mon, 17 Oct 2022 03:40:08 +0100 Subject: [PATCH] Last-minute setup patches --- setup/system.sh | 2 +- setup/webmail.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/system.sh b/setup/system.sh index f698c38..ef1ed0f 100755 --- a/setup/system.sh +++ b/setup/system.sh @@ -21,7 +21,7 @@ hostname $PRIMARY_HOSTNAME # is required because apparently nsd expects this to exist. management/editconf.py /etc/sysctl.conf "net.ipv6.conf.all.disable_ipv6 = 0" -sysctl --system +hide_output sysctl --system # ### Fix permissions diff --git a/setup/webmail.sh b/setup/webmail.sh index 94a28f5..f9d4bfd 100755 --- a/setup/webmail.sh +++ b/setup/webmail.sh @@ -211,7 +211,7 @@ sudo -u www-data touch /var/log/roundcubemail/errors.log cp ${RCM_PLUGIN_DIR}/password/config.inc.php.dist \ ${RCM_PLUGIN_DIR}/password/config.inc.php -management/editconf.py -c "//" ${RCM_PLUGIN_DIR}/password/config.inc.php \ +management/editconf.py ${RCM_PLUGIN_DIR}/password/config.inc.php -c "//" \ "\$config['password_minimum_length'] = 8;" \ "\$config['password_db_dsn'] = 'sqlite:///$STORAGE_ROOT/mail/users.sqlite';" \ "\$config['password_query'] = 'UPDATE users SET password=%P WHERE email=%u';" \