From 2bac80cfbfb1bcd67af59d43ceae607fb8338279 Mon Sep 17 00:00:00 2001 From: Dan Pastusek Date: Mon, 6 May 2024 11:06:30 -0700 Subject: [PATCH] [DOCS] Make linux installation instructions more clear (#1927) * Make linux installation instructions more clear * Update running-headscale-linux.md --- docs/running-headscale-linux.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/running-headscale-linux.md b/docs/running-headscale-linux.md index 5f90600..f08789c 100644 --- a/docs/running-headscale-linux.md +++ b/docs/running-headscale-linux.md @@ -20,17 +20,19 @@ configuration (`/etc/headscale/config.yaml`). ## Installation -1. Download the latest Headscale package for your platform (`.deb` for Ubuntu and Debian) from [Headscale's releases page](https://github.com/juanfont/headscale/releases): +1. Download the [latest Headscale package](https://github.com/juanfont/headscale/releases/latest) for your platform (`.deb` for Ubuntu and Debian). ```shell + HEADSCALE_VERSION="" # See above URL for latest version, e.g. "X.Y.Z" (NOTE: do not add the "v" prefix!) + HEADSCALE_ARCH="" # Your system architecture, e.g. "amd64" wget --output-document=headscale.deb \ - https://github.com/juanfont/headscale/releases/download/v/headscale__linux_.deb + "https://github.com/juanfont/headscale/releases/download/v${HEADSCALE_VERSION}/headscale_${HEADSCALE_VERSION}_linux_${HEADSCALE_ARCH}.deb" ``` 1. Install Headscale: ```shell - sudo apt install headscale.deb + sudo apt install ./headscale.deb ``` 1. Enable Headscale service, this will start Headscale at boot: