diff --git a/installers/common.sh b/installers/common.sh index 1fd5e53..4cc13c2 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -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)