Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create server and set jargroup do not create jar symlinks #39

Closed
jives opened this issue Jul 5, 2012 · 0 comments
Closed

Create server and set jargroup do not create jar symlinks #39

jives opened this issue Jul 5, 2012 · 0 comments
Assignees
Labels

Comments

@jives
Copy link
Contributor

jives commented Jul 5, 2012

Problem

Commands using server_set_jar() like msm server create <server-name> or msm <server-name> jar minecraft
throw an su error (user does not exist) and will not generate symlinks to the latest jar-file in the jargroup(s).

Cause

Wrong variable name used in https://github.com/marcuswhybrow/minecraft-server-manager/blob/master/init/msm#L1019; used ${SERVER_USER[$1]} but should be ${SERVER_USER_NAME[$1]}, therefore su gets passed a blank username if the defaults from msm.conf are used.

Fix

Change ${SERVER_USER[$1]} to ${SERVER_USER_NAME[$1]} in line 1019 of /init/msm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants