mirror of
https://github.com/fankes/beszel.git
synced 2025-10-19 17:59:28 +08:00
add dependencies install for the hub script installer
This commit is contained in:
@@ -50,6 +50,10 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check if necessary packages are installed
|
||||
sudo apt update
|
||||
sudo apt install -y tar curl
|
||||
|
||||
# Create a dedicated user for the service
|
||||
if ! id -u beszel > /dev/null 2>&1; then
|
||||
echo "Creating a dedicated user for the Beszel Hub service..."
|
||||
|
Reference in New Issue
Block a user