Add creating minecraft user to install script

This commit is contained in:
Marcus Whybrow 2012-08-13 02:21:57 +01:00
parent fc7b1c45e3
commit 7e2ac84546

View File

@ -13,6 +13,9 @@ sudo sh <<SCRIPT
echo "\n\033[1;32mMSM INSTALL: Installing required packages\033[m"
apt-get install screen rsync zip
echo "\n\033[1;32mMSM INSTALL: Creating default user \"minecraft\"\033[m"
adduser --system minecraft
echo "\n\033[1;32mMSM INSTALL: Downloading latest MSM configuration file\033[m"
wget https://raw.github.com/marcuswhybrow/minecraft-server-manager/latest/msm.conf -O /etc/msm.conf