Wait longer

This commit is contained in:
Bob Mottram 2018-02-11 23:00:55 +00:00
parent d0d46a8b76
commit a81a98eb53
1 changed files with 5 additions and 5 deletions

View File

@ -257,16 +257,16 @@ function install_bdsmail {
# wait for domain to be generated by the daemon # wait for domain to be generated by the daemon
echo $'Waiting for i2p domain to be generated...' echo $'Waiting for i2p domain to be generated...'
sleep 15 sleep 20
bds_domain=$(bdsmail_domain) bds_domain=$(bdsmail_domain)
if [ ! $bds_domain ]; then if [ ! $bds_domain ]; then
echo $'Waiting...' echo $'Waiting...'
sleep 15 sleep 20
bds_domain=$(bdsmail_domain) bds_domain=$(bdsmail_domain)
if [ ! $bds_domain ]; then if [ ! $bds_domain ]; then
systemctl stop bdsmail #systemctl stop bdsmail
systemctl disable bdsmail #systemctl disable bdsmail
remove_i2p #remove_i2p
echo $'Failed to get the bdsmail domain' echo $'Failed to get the bdsmail domain'
exit 8934638 exit 8934638
fi fi