mirror of
https://github.com/tschettervictor/bsd-apps.git
synced 2026-01-02 10:49:50 +01:00
Update mineos-install.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user