这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@tboerger
Copy link
Contributor

I have done some improvements as you can see on the separate commits like keeping the environment for sudo, replaced hard coded plugin paths

This pull request have been split from #751.

Thomas Boerger added 2 commits November 23, 2014 11:38
To be able to set some other environment variables even if dokku gets
called from a different user we have to keep the environment with sudo
intact, so i added the -E option.
To be able to switch the plugin path i have removed the hard coded
plugin path from the catch all section of the switch within the main
dokku executable.
@josegonzalez
Copy link
Member

Looks good. I'm a bit worried about the -E, can you add documentation for that?

@tboerger
Copy link
Contributor Author

The -E (preserve environment) option indicates to the security policy that the user wishes to preserve their existing environment variables.  The security policy may return an error if the -E option is specified and the user does not have permission to preserve the environment.

I played around with dokku while i tried to package it and was wondering why i don't get other paths running with environment variables. As i did not run the tests with the dokku user it simply did not take over the environment variables without the -E option.

@josegonzalez
Copy link
Member

Oh I meant docs in the docs folder, so that others are aware of how that works.

@josegonzalez
Copy link
Member

Merged in 53c58ec. Thanks for the pull request, and looking forward to full SUSE support :)

@josegonzalez josegonzalez added this to the v0.3.3 milestone Nov 24, 2014
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.

2 participants