mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Minecraft user group is created along with user.
This commit is contained in:
parent
0f94ed7153
commit
526bb07a15
@ -35,7 +35,7 @@ function install_dependencies() {
|
|||||||
# Verifies existence of or adds user for Minecraft server (default "minecraft")
|
# Verifies existence of or adds user for Minecraft server (default "minecraft")
|
||||||
function add_minecraft_user() {
|
function add_minecraft_user() {
|
||||||
install_log "Creating default user '$msm_user'"
|
install_log "Creating default user '$msm_user'"
|
||||||
useradd --system $msm_user
|
useradd --system --user-group $msm_user
|
||||||
}
|
}
|
||||||
|
|
||||||
# Verifies existence and permissions of msm server directory (default /opt/msm)
|
# Verifies existence and permissions of msm server directory (default /opt/msm)
|
||||||
|
Loading…
Reference in New Issue
Block a user