summarylogtreecommitdiffstats
path: root/zeronet.install
diff options
context:
space:
mode:
Diffstat (limited to 'zeronet.install')
-rw-r--r--zeronet.install7
1 files changed, 7 insertions, 0 deletions
diff --git a/zeronet.install b/zeronet.install
index 891781a887d3..e78d285d9802 100644
--- a/zeronet.install
+++ b/zeronet.install
@@ -5,6 +5,13 @@ post_install() {
echo "done"
}
post_upgrade
+ # Don't run thesre operations automatically, because they are security-sensitive
+ echo ">>> Default mode is clearnet+Tor. Give zeronet permissions to configure hidden service:"
+ echo ">>> sudo usermod -a -G tor zeronet"
+ echo ">>> sudo chmod g+x /var/lib/tor && sudo chmod g+r /var/lib/tor/control_auth_cookie"
+ echo ">>> Run daemon and check status:"
+ echo ">>> sudo systemctl start zeronet"
+ echo ">>> sudo systemctl status zeronet"
}
post_upgrade() {