Last-minute setup patches
This commit is contained in:
parent
9243ea9374
commit
824762d18d
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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';" \
|
||||
|
|
Loading…
Reference in a new issue