Update mineos-install.sh

This commit is contained in:
tschettervictor
2024-09-15 17:06:33 -06:00
committed by GitHub
parent f9fabd0f09
commit 5f74aaea19

View File

@@ -25,7 +25,8 @@ chmod +x /usr/local/games/minecraft/*.js
/usr/local/games/minecraft/generate-sslcert.sh
cp /usr/local/games/minecraft/mineos.conf /etc/mineos.conf
cd /usr/local/games/minecraft && yarn add jsegaert/node-userid && npm install
sed -i '' "s/^use_https.*/use_https = false/" /etc/mineos.conf
# Uncomment next line to only use http
#sed -i '' "s/^use_https.*/use_https = false/" /etc/mineos.conf
pw useradd -n mineos -u 8443 -G games -d /nonexistent -s /usr/local/bin/bash -h 0 <<EOF
mineos
EOF