This commit is contained in:
Bob Mottram 2018-05-01 16:15:06 +01:00
parent b6a7f9e370
commit 4a8ac66841
1 changed files with 2 additions and 2 deletions

View File

@ -656,12 +656,12 @@ function install_keyserver {
chown debian-sks: $sksconf_file
if ! grep -q "hidden_service_sks" $ONION_SERVICES_FILE; then
if ! grep -q "hidden_service_sks" "$ONION_SERVICES_FILE"; then
{ echo 'HiddenServiceDir /var/lib/tor/hidden_service_sks/';
echo 'HiddenServiceVersion 3';
echo "HiddenServicePort 11370 127.0.0.1:11370";
echo "HiddenServicePort 11373 127.0.0.1:11371";
echo "HiddenServicePort 11372 127.0.0.1:11372"; } >> $ONION_SERVICES_FILE
echo "HiddenServicePort 11372 127.0.0.1:11372"; } >> "$ONION_SERVICES_FILE"
echo $'Added onion site for sks'
fi