|
@@ -169,6 +169,7 @@ function remove_bdsmail {
|
169
|
169
|
fi
|
170
|
170
|
userdel -r bdsmail
|
171
|
171
|
|
|
172
|
+ remove_i2p
|
172
|
173
|
remove_app bdsmail
|
173
|
174
|
remove_completion_param install_bdsmail
|
174
|
175
|
sed -i '/bdsmail/d' $COMPLETION_FILE
|
|
@@ -176,7 +177,6 @@ function remove_bdsmail {
|
176
|
177
|
if [ -d /etc/bdsmail ]; then
|
177
|
178
|
rm -rf /etc/bdsmail
|
178
|
179
|
fi
|
179
|
|
- remove_i2p
|
180
|
180
|
}
|
181
|
181
|
|
182
|
182
|
function install_bdsmail {
|
|
@@ -258,11 +258,12 @@ function install_bdsmail {
|
258
|
258
|
|
259
|
259
|
# wait for domain to be generated by the daemon
|
260
|
260
|
echo $'Waiting for i2p domain to be generated...'
|
261
|
|
- sleep 10
|
|
261
|
+ sleep 15
|
262
|
262
|
bds_domain=$(bdsmail_domain)
|
263
|
263
|
if [ ! $bds_domain ]; then
|
264
|
264
|
echo $'Waiting...'
|
265
|
|
- sleep 10
|
|
265
|
+ systemctl restart bdsmail
|
|
266
|
+ sleep 15
|
266
|
267
|
bds_domain=$(bdsmail_domain)
|
267
|
268
|
if [ ! $bds_domain ]; then
|
268
|
269
|
#systemctl stop bdsmail
|