summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xserver-build/QEMU-autobuild/buildReclaim.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/server-build/QEMU-autobuild/buildReclaim.sh b/server-build/QEMU-autobuild/buildReclaim.sh
index 9b1ac15..2b84978 100755
--- a/server-build/QEMU-autobuild/buildReclaim.sh
+++ b/server-build/QEMU-autobuild/buildReclaim.sh
@@ -64,16 +64,16 @@ cd gnunet
./configure --prefix=/usr/
make install
-echo "Updating GNUnet configuration"
-chown gnunet:gnunet /etc/gnunet.conf
-sudo -u gnunet gnunet-config -c /etc/gnunet.conf -s arm -o START_USER_SERVICES -V NO
-sudo -u gnunet gnunet-config -c /etc/gnunet.conf -s arm -o START_SYSTEM_SERVICES -V YES
-
# Use the user 'reclaim' for the reclaim/OIDC service.
echo "Setting up users gnunet and reclaim"
adduser --system --disabled-password gnunet
adduser --system --disabled-password reclaim
+echo "Updating GNUnet configuration"
+chown gnunet:gnunet /etc/gnunet.conf
+sudo -u gnunet gnunet-config -c /etc/gnunet.conf -s arm -o START_USER_SERVICES -V NO
+sudo -u gnunet gnunet-config -c /etc/gnunet.conf -s arm -o START_SYSTEM_SERVICES -V YES
+
echo "Setting up reclaim GNUnet peer"
sudo -u reclaim gnunet-config -s arm -o START_USER_SERVICES -V YES
sudo -u reclaim gnunet-config -s arm -o START_SYSTEM_SERVICES -V NO