From 6ec76221a48258f3ab8bb24879fb9b42f0b4eb1e Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Sun, 29 Apr 2018 00:02:49 +0300 Subject: [PATCH] updated install script --- setup/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup/install.sh b/setup/install.sh index 319b1566..f0e96b0f 100755 --- a/setup/install.sh +++ b/setup/install.sh @@ -185,8 +185,10 @@ git --git-dir=/var/opt/wildduck.git --work-tree=/opt/wildduck checkout "$WILDDUC cp -r /opt/wildduck/config /etc/wildduck mv /etc/wildduck/default.toml /etc/wildduck/wildduck.toml -mv /opt/wildduck/emails/example.json.disabled /opt/wildduck/emails/example.json +# enable example message +sed -i -e 's/"disabled": true/"disabled": false/g' /opt/wildduck/emails/00-example.json +# update ports sed -i -e "s/999/99/g;s/localhost/$HOSTNAME/g" /etc/wildduck/imap.toml sed -i -e "s/999/99/g;s/localhost/$HOSTNAME/g" /etc/wildduck/pop3.toml