Skip to content

Commit a39e194

Browse files
committed
Added default minecraft jargroup on install.
1 parent abdc13c commit a39e194

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

installers/common.sh

+7
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,12 @@ function update_msm() {
144144
sudo /etc/init.d/msm update --noinput
145145
}
146146

147+
# Updates rest of MSM using init script updater
148+
function setup_jargroup() {
149+
install_log "Setup default jar groups"
150+
sudo /etc/init.d/msm jargroup create minecraft https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft_server.jar
151+
}
152+
147153
function install_complete() {
148154
install_log "Done. Type 'msm help' to get started. Have fun!"
149155
}
@@ -162,5 +168,6 @@ function install_msm() {
162168
install_init
163169
enable_init
164170
update_msm
171+
setup_jargroup
165172
install_complete
166173
}

0 commit comments

Comments
 (0)