forked from forkanization/Proxmox-arm64
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
@@ -23,7 +23,7 @@ $STD apt-get install -y openssh-server
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing MongoDB 4.4"
|
||||
wget -qO- https://www.mongodb.org/static/pgp/server-4.4.asc | gpg --dearmor >/usr/share/keyrings/mongodb-server-4.4.gpg
|
||||
curl -fsSL "https://www.mongodb.org/static/pgp/server-4.4.asc" | gpg --dearmor >/usr/share/keyrings/mongodb-server-4.4.gpg
|
||||
# Determine OS ID
|
||||
OS_ID=$(grep '^ID=' /etc/os-release | cut -d'=' -f2)
|
||||
|
||||
@@ -36,13 +36,13 @@ fi
|
||||
$STD apt-get update
|
||||
$STD apt-get install -y mongodb-org
|
||||
sed -i 's/bindIp: 127.0.0.1/bindIp: 0.0.0.0/' /etc/mongod.conf
|
||||
systemctl enable -q --now mongod.service
|
||||
systemctl enable -q --now mongod
|
||||
msg_ok "MongoDB 4.4 Installed"
|
||||
|
||||
msg_info "Installing Petio"
|
||||
useradd -M --shell=/bin/false petio
|
||||
mkdir /opt/Petio
|
||||
wget -q https://petio.tv/releases/latest -O petio-latest.zip
|
||||
curl -fsSL "https://petio.tv/releases/latest" -o "petio-latest.zip"
|
||||
$STD unzip -q petio-latest.zip -d /opt/Petio
|
||||
rm -rf petio-latest.zip
|
||||
chown -R petio:petio /opt/Petio
|
||||
@@ -66,7 +66,7 @@ WantedBy=multi-user.target
|
||||
|
||||
|
||||
EOF
|
||||
systemctl enable -q --now petio.service
|
||||
systemctl enable -q --now petio
|
||||
msg_ok "Created Service"
|
||||
|
||||
motd_ssh
|
||||
|
||||
Reference in New Issue
Block a user