WIP: added fallback env
This commit is contained in:
@@ -42,12 +42,13 @@ type Config struct {
|
||||
}
|
||||
|
||||
type Task struct {
|
||||
Command []string `mapstructure:"command"`
|
||||
Environ []string `mapstructure:"environ"`
|
||||
Setsid bool `mapstructure:"setsid"`
|
||||
User string `mapstructure:"user"`
|
||||
Group string `mapstructure:"group"`
|
||||
WorkingDir string `mapstructure:"working_dir"`
|
||||
Command []string `mapstructure:"command"`
|
||||
Environ []string `mapstructure:"environ"`
|
||||
FallbackEnv []string `mapstructure:"fallback_env"`
|
||||
Setsid bool `mapstructure:"setsid"`
|
||||
User string `mapstructure:"user"`
|
||||
Group string `mapstructure:"group"`
|
||||
WorkingDir string `mapstructure:"working_dir"`
|
||||
}
|
||||
|
||||
type ServiceTask struct {
|
||||
|
||||
Reference in New Issue
Block a user