mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Merge pull request #182 from JohannesM/patch-1
get rid of the message "No directory, logging in with HOME=/"
This commit is contained in:
commit
4c8a60f846
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user