[misc] start the service after installation on arch linux (#4071)

This commit is contained in:
Krzysztof Nazarewski (kdn)
2025-06-30 12:02:03 +02:00
committed by GitHub
parent ef6cd36f1a
commit 07d1ad35fc

View File

@@ -130,7 +130,7 @@ repo_gpgcheck=1
EOF EOF
} }
add_aur_repo() { install_aur_package() {
INSTALL_PKGS="git base-devel go" INSTALL_PKGS="git base-devel go"
REMOVE_PKGS="" REMOVE_PKGS=""
@@ -279,7 +279,9 @@ install_netbird() {
;; ;;
pacman) pacman)
${SUDO} pacman -Syy ${SUDO} pacman -Syy
add_aur_repo install_aur_package
# in-line with the docs at https://wiki.archlinux.org/title/Netbird
${SUDO} systemctl enable --now netbird@main.service
;; ;;
pkg) pkg)
# Check if the package is already installed # Check if the package is already installed