diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-27 16:31:50 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-27 16:31:50 +0100 |
commit | 63f376116a2828f3865bed860f0372a41d93fa75 (patch) | |
tree | 9dcb3f724c2de3d0265860b82ed66a9c87abd8e6 | |
parent | 607bd2ab8b237a1a589df58ca3207f0b51443a5f (diff) | |
download | woocommerce-taler-63f376116a2828f3865bed860f0372a41d93fa75.tar.gz woocommerce-taler-63f376116a2828f3865bed860f0372a41d93fa75.tar.bz2 woocommerce-taler-63f376116a2828f3865bed860f0372a41d93fa75.zip |
fix script
-rwxr-xr-x | server-build/QEMU-autobuild/buildReclaim.sh | 6 | ||||
-rw-r--r-- | server-build/my-simple-cdd/README | 2 | ||||
-rwxr-xr-x | server-build/my-simple-cdd/profiles/wootaler.postinst | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/server-build/QEMU-autobuild/buildReclaim.sh b/server-build/QEMU-autobuild/buildReclaim.sh index 961b974..26cc183 100755 --- a/server-build/QEMU-autobuild/buildReclaim.sh +++ b/server-build/QEMU-autobuild/buildReclaim.sh @@ -90,7 +90,7 @@ sudo -u reclaim gnunet-config -s reclaim-rest-plugin -o OIDC_CLIENT_SECRET -V "$ echo "Setting up systemd integration" -sudo -u reclaim cat - > /etc/systemd/system/reclaim.service <<EOF +cat - > /etc/systemd/system/reclaim.service <<EOF [Unit] Description = GNUnet for reclaim After=network.target @@ -103,7 +103,7 @@ WorkingDirectory=/home/reclaim WantedBy=multi-user.target EOF -sudo -u gnunet cat - > /etc/systemd/system/gnunet.service <<EOF +gnunet cat - > /etc/systemd/system/gnunet.service <<EOF [Unit] Description = GNUnet main service After=network.target @@ -114,7 +114,7 @@ ExecStart=/usr/lib/gnunet/libexec/gnunet-service-arm -c /etc/gnunet.conf WorkingDirectory=/home/gnunet [Install] WantedBy=multi-user.target - EOF +EOF echo "Reloading systemd configuration" systemctl daemon-reload diff --git a/server-build/my-simple-cdd/README b/server-build/my-simple-cdd/README index 0005f13..a5f8fe3 100644 --- a/server-build/my-simple-cdd/README +++ b/server-build/my-simple-cdd/README @@ -70,6 +70,6 @@ plugin, and click "safe" (no need to actually change options). Then, finally, run: -# deploy-reclaim.sh +# yes | /usr/local/bin/deploy-reclaim.sh as root inside the VM. diff --git a/server-build/my-simple-cdd/profiles/wootaler.postinst b/server-build/my-simple-cdd/profiles/wootaler.postinst index 279f224..a11a733 100755 --- a/server-build/my-simple-cdd/profiles/wootaler.postinst +++ b/server-build/my-simple-cdd/profiles/wootaler.postinst @@ -44,7 +44,7 @@ yes | tr y '\n' | woocommerce-taler/server-build/QEMU-autobuild/buildWooTalerSer yes | tr y '\n' | woocommerce-taler/server-build/QEMU-autobuild/buildWebstore.sh -cp woocommerce-taler/server-build/QEMU-autobuild/buildReclaim.sh /usr/local/bin/deploy-reclaim.sh +cp /root/woocommerce-taler/server-build/QEMU-autobuild/buildReclaim.sh /usr/local/bin/deploy-reclaim.sh # Remove self from boot sequence rm /etc/systemd/system/firstboot-wootaler.service |