Add wg-ui install script with least-privilege service user

This commit is contained in:
2026-09-13 07:20:02 +01:00
parent e7e63bc491
commit 432203d8ed
2 changed files with 251 additions and 0 deletions
+4
View File
@@ -59,6 +59,10 @@ case "$DISTRO" in
echo "detected Arch-family distro: $DISTRO"
pacman -Syu --noconfirm --needed wireguard-tools
;;
alpine)
echo "detected Alpine distro: $DISTRO"
apk add --no-cache wireguard-tools
;;
*)
echo "error: unsupported distro: $DISTRO" >&2
echo "install wireguard manually (kernel module + wg/wg-quick tools)" >&2