Add a restart
This commit is contained in:
parent
37ac4dd20e
commit
6562d131f7
|
@ -169,6 +169,7 @@ function remove_bdsmail {
|
|||
fi
|
||||
userdel -r bdsmail
|
||||
|
||||
remove_i2p
|
||||
remove_app bdsmail
|
||||
remove_completion_param install_bdsmail
|
||||
sed -i '/bdsmail/d' $COMPLETION_FILE
|
||||
|
@ -176,7 +177,6 @@ function remove_bdsmail {
|
|||
if [ -d /etc/bdsmail ]; then
|
||||
rm -rf /etc/bdsmail
|
||||
fi
|
||||
remove_i2p
|
||||
}
|
||||
|
||||
function install_bdsmail {
|
||||
|
@ -258,11 +258,12 @@ function install_bdsmail {
|
|||
|
||||
# wait for domain to be generated by the daemon
|
||||
echo $'Waiting for i2p domain to be generated...'
|
||||
sleep 10
|
||||
sleep 15
|
||||
bds_domain=$(bdsmail_domain)
|
||||
if [ ! $bds_domain ]; then
|
||||
echo $'Waiting...'
|
||||
sleep 10
|
||||
systemctl restart bdsmail
|
||||
sleep 15
|
||||
bds_domain=$(bdsmail_domain)
|
||||
if [ ! $bds_domain ]; then
|
||||
#systemctl stop bdsmail
|
||||
|
|
Loading…
Reference in New Issue