summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--retiolum/hosts/go13
-rw-r--r--ship/lib/tor1
2 files changed, 1 insertions, 13 deletions
diff --git a/retiolum/hosts/go b/retiolum/hosts/go
deleted file mode 100644
index 60dc6dc6..00000000
--- a/retiolum/hosts/go
+++ /dev/null
@@ -1,13 +0,0 @@
-Address = 176.9.48.250
-Subnet = 10.243.248.11
-Subnet = 42:e1b6:4748:b0cf:555c:bdfe:26de:3a9d
-Subnet = 172.22.0.0/15
-
------BEGIN RSA PUBLIC KEY-----
-MIIBCgKCAQEApKt/lYqRgl4KE1ouSi5nbt7n7FEjECkGtkRhLFDJs0uWNvPj7wEh
-nTtqzk7lJ8upHgmNN+1w98n2bcJ7Qcbz8vCcMEO7MXdlzGH9vet/g6ZgQ/Z1ijHl
-IxYeH7yyBDLoJ2gghMhiSF0cezFDmNKPMhN+cGr9Lou54igK3I5CMIMN8cx0Fu0G
-uLAxvnZfxIzzCnrF9xvZ6i3g/rEcaGjxmAysCW8SQdRmBKlkzQaUbLy39V2Z5y6m
-SWR7gIGgMVCkpSeWUVSi05wgnMhoEu6LEYTBy/3bPK96O/Y7JBVpYUHqk/ya2PNR
-eaHfEpCrKsek4t/5hcLk64Eo/ydzeU+gAQIDAQAB
------END RSA PUBLIC KEY-----
diff --git a/ship/lib/tor b/ship/lib/tor
index 8d9e33f1..0911e92a 100644
--- a/ship/lib/tor
+++ b/ship/lib/tor
@@ -7,6 +7,7 @@ torrc=${torrc:-/etc/tor/torrc}
hidden_service_dir=${hidden_service_dir:-/var/lib/tor/hidden_service/}
configure_hidden_service(){
+ mkdir -p "$hidden_service_dir"
if ! grep -q '^HiddenService' "$torrc" ;then
info "adding hidden service to $torrc"
cat >> "$torrc" << EOF