Merge pull request #182 from JohannesM/patch-1

get rid of the message "No directory, logging in with HOME=/"
This commit is contained in:
Zach Latta 2013-08-28 16:27:45 -07:00
commit 4c8a60f846

View File

@ -54,7 +54,8 @@ function install_dependencies() {
# Verifies existence of or adds user for Minecraft server (default "minecraft")
function add_minecraft_user() {
install_log "Creating default user '${msm_user}'"
sudo useradd ${msm_user}
sudo useradd ${msm_user} \
--home /opt/msm
}
# Verifies existence and permissions of msm server directory (default /opt/msm)