Pull request 130: Post release fixes

Squashed commit of the following:

commit 3e041c827c1836885edb98710631cd9339af4bc7
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Wed Jan 21 17:08:26 2026 +0400

    sudo for setup_wizard

commit 7aa7f01466bb1e8374e5763b98d1faf69a705fbe
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Wed Jan 21 16:55:57 2026 +0400

    More detailed parse cert error

commit ac98633f2ef50fef14ef17886ab2ebe029681f4f
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Wed Jan 21 15:52:16 2026 +0400

    sudo for systemd commands

commit 972ea7cf6bdb8e5466478aea806059246b8c9db3
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Wed Jan 21 15:31:49 2026 +0400

    Improve post install message

commit c246319db68dedd87f66a5d0f47991ef6807a914
Author: Andrey Yakushin <a.yakushin@adguard.com>
Date:   Wed Jan 21 15:22:06 2026 +0400

    Fix after install help command
This commit is contained in:
Andrey Yakushin
2026-01-21 13:18:11 +00:00
parent 13ce680a9e
commit f57cb2a05f
5 changed files with 59 additions and 12 deletions

View File

@@ -576,11 +576,29 @@ download() {
report_success() {
echo
echo "TrustTunnel has been installed successfully!"
echo "============================================================"
echo " TrustTunnel Endpoint was installed to '${output_dir}'"
echo "============================================================"
echo
echo "You probably want to configure the endpoint first, see 'cd ${output_dir} && setup_wizard -h'"
echo "The endpoint executable is located at '${output_dir}/trusttunnel_endpoint'"
echo "The '${output_dir}/trusttunnel.service.template' template could be used to run a configured endpoint as a systemd service"
echo "--- Continue setup ---"
echo
echo "Run the Setup Wizard to continue the endpoint setup:"
echo
echo " cd ${output_dir}"
echo " sudo ./setup_wizard"
echo
echo "--- Configure systemd service ---"
echo
echo "The '${output_dir}/trusttunnel.service.template' template"
echo "could be used to run a configured endpoint as a systemd service."
echo
echo "Once the endpoint setup is finished, run the following commands"
echo "to configure a systemd service:"
echo
echo " cd ${output_dir}/"
echo " sudo cp trusttunnel.service.template /etc/systemd/system/trusttunnel.service"
echo " sudo systemctl daemon-reload"
echo " sudo systemctl enable --now trusttunnel"
echo
}

View File

@@ -1,9 +1,9 @@
# Service template for the TrustTunnel endpoint
# Adjust paths at `ExecStart` and copy file to systemd system directory:
#
# cp trusttunnel.service.template /etc/systemd/system/trusttunnel.service
# systemctl daemon-reload
# systemctl enable --now trusttunnel
# sudo cp trusttunnel.service.template /etc/systemd/system/trusttunnel.service
# sudo systemctl daemon-reload
# sudo systemctl enable --now trusttunnel
[Unit]
Description=TrustTunnel endpoint