diff --git a/src/freedombone-utils-onion b/src/freedombone-utils-onion index 6bdb4cff..9882a1d9 100755 --- a/src/freedombone-utils-onion +++ b/src/freedombone-utils-onion @@ -48,6 +48,7 @@ function torrc_migrate { grep "HiddenServiceDir\\|HiddenServiceVersion\\|HiddenServicePort" /etc/tor/torrc | grep -v "#HiddenServiceDir" >> $ONION_SERVICES_FILE if ! grep "HiddenServiceVersion" $ONION_SERVICES_FILE; then + systemctl restart tor return fi