Fix commands.
Add username to config struct, if present execute `sudo -E -u username` in command
This commit is contained in:
@ -17,6 +17,7 @@ type DockerMap struct {
|
||||
Name string `yaml:"name,omitempty"`
|
||||
MainService string `yaml:"main_service,omitempty"`
|
||||
Shell string `yaml:"shell,omitempty"`
|
||||
Username string `yaml:"username,omitempty"`
|
||||
}
|
||||
|
||||
func NewLedoFile(s string) (*LedoFile, error) {
|
||||
|
Reference in New Issue
Block a user