mirror of
https://github.com/tschettervictor/bsd-apps.git
synced 2025-12-29 00:39:47 +01:00
Update uptime-kuma-install.sh - minor edits
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
#!/bin/sh
|
||||
# Install Uptime-Kuma
|
||||
|
||||
APP_NAME="Uptime-Kuma"
|
||||
DATA_PATH="/mnt/data"
|
||||
NODE_VERSION="18"
|
||||
|
||||
# Check for Root Privileges
|
||||
if ! [ $(id -u) = 0 ]; then
|
||||
echo "This script must be run with root privileges"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
APP_NAME="Uptime-Kuma"
|
||||
DATA_PATH="/mnt/data"
|
||||
NODE_VERSION="18"
|
||||
|
||||
# Install Packages
|
||||
pkg install -y git-lite npm-node"${NODE_VERSION}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user