aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnunet/setup-gnunet-user
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnunet/setup-gnunet-user')
-rw-r--r--community/gnunet/setup-gnunet-user8
1 files changed, 6 insertions, 2 deletions
diff --git a/community/gnunet/setup-gnunet-user b/community/gnunet/setup-gnunet-user
index 8d7b436578d..e4254a7a6cc 100644
--- a/community/gnunet/setup-gnunet-user
+++ b/community/gnunet/setup-gnunet-user
@@ -27,17 +27,21 @@ adduser $USER gnunet 2>/dev/null
echo "Creating user config at $CONFIG_PATH"
cat > $CONFIG_PATH << EOF
+[paths]
+GNUNET_RUNTIME_DIR = "/run/gnunet/"
+
[arm]
START_SYSTEM_SERVICES = NO
START_USER_SERVICES = YES
EOF
-chown $USER.$USER $CONFIG_PATH
+chown $USER:$USER $CONFIG_PATH
echo "Creating symlink: gnunet-user-services -> gnunet-$USER-services"
ln -s /etc/init.d/gnunet-user-services /etc/init.d/gnunet-$USER-services
echo "Creating/Renewing GNS certificate authority (CA)"
$DOASUSER gnunet-gns-proxy-setup-ca
+echo
echo "Use GNU Name System in Firefox/Chromium by default? [y,N]"
read -r yn
@@ -87,4 +91,4 @@ y|Y )
;;
esac
-echo "Done."
+echo "Done. You may need to log out and log in again to use GNUnet with your user '$USER'."