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

allow setting the superuser password from env #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

allow setting the superuser password from env #3

wants to merge 1 commit into from

Conversation

icewind1991
Copy link

docker run -d -e SUPERUSER_PASSWORD=foobar mattikus/murmur

Removes the need to check the logs for the password and makes it easier to automate setting up servers

#!/bin/sh

if [ "$SUPERUSER_PASSWORD" ]; then
/opt/murmur/murmur.x86 -supw $SUPERUSER_PASSWORD
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'd probably want to change this to still set -fg -v. Or even better append to a string of additional arguments and add those to line 7 below.

@mattikus
Copy link
Owner

mattikus commented Sep 8, 2016

Looks pretty solid, aside from the comment I have. Thanks for the contribution.

@mattikus
Copy link
Owner

mattikus commented Sep 8, 2016

Oh, can you also update the README with an example usage?

@gunr2171
Copy link

gunr2171 commented Jul 9, 2020

Looking forward to this feature!

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

Successfully merging this pull request may close these issues.

3 participants