Fixed default values.

see #160
This commit is contained in:
Antoine Nguyen
2017-10-10 09:40:30 +02:00
parent 11447d062a
commit c894013d67
3 changed files with 8 additions and 3 deletions

View File

@@ -47,6 +47,10 @@ run the following command::
$ ./run.py --stop-after-configfile-check <your domain>
An interactive mode is also available::
$ ./run.py --interactive <your domain>
Make your modifications and run the installer as usual.
By default, the latest Modoboa version is installed but you can select

View File

@@ -129,11 +129,11 @@ ConfigDictTemplate = [
},
{
"option": "venv_path",
"default": "%(home_dir)s/instance",
"default": "%(home_dir)s/env",
},
{
"option": "instance_path",
"default": "%(home_dir)s/env",
"default": "%(home_dir)s/instance",
},
{
"option": "timezone",
@@ -161,7 +161,7 @@ ConfigDictTemplate = [
"modoboa-stats modoboa-webmail modoboa-contacts"),
},
{
"option": "devmod",
"option": "devmode",
"default": "false",
},
]

1
run.py
View File

@@ -53,6 +53,7 @@ def main(input_args):
if not config.has_section("general"):
config.add_section("general")
config.set("general", "domain", args.domain)
config.set("dovecot", "domain", args.domain)
config.set("modoboa", "version", args.version)
utils.printcolor(
"Your mail server will be installed with the following components:",