first commit
This commit is contained in:
22
files/install_script.sh
Normal file
22
files/install_script.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) 2022 fithwum
|
||||
# All rights reserved
|
||||
|
||||
# Main install (Debian).
|
||||
# Check for server files and download if needed.
|
||||
|
||||
|
||||
# Looking for run-${MC_VERSION}.sh
|
||||
|
||||
|
||||
# Set permissions.
|
||||
chown 99:100 -R /veloren
|
||||
chmod 777 -R /veloren
|
||||
sleep 1
|
||||
|
||||
# Run Minecraft server.
|
||||
echo " "
|
||||
echo "INFO ! Starting Minecraft Server $MC_VERSION"
|
||||
exec /veloren/ --dataPath=/MCserver
|
||||
|
||||
exit
|
||||
Reference in New Issue
Block a user