mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Changed hardcoded user home directory from '/opt/msm' to '$msm_dir'
When installing with to a non-standard directory, errors are thrown due to user being created with a home directory that doesn't exist. Fix sets user home directory to $msm_dir instead of '/opt/msm'.
This commit is contained in:
parent
ddbb8bce1b
commit
7f55113f9d
@ -55,7 +55,7 @@ function install_dependencies() {
|
||||
function add_minecraft_user() {
|
||||
install_log "Creating default user '${msm_user}'"
|
||||
sudo useradd ${msm_user} \
|
||||
--home /opt/msm
|
||||
--home "$msm_dir"
|
||||
}
|
||||
|
||||
# Verifies existence and permissions of msm server directory (default /opt/msm)
|
||||
|
Loading…
x
Reference in New Issue
Block a user