added shell attribute to unit object definition to allow more flexibility; defaults to sh
This commit is contained in:
@@ -4,5 +4,6 @@
|
||||
"units_path": "units/",
|
||||
"plan_path": "plans/atomic.plan",
|
||||
"config_version": "3",
|
||||
"env_vars_file": "examplar.variables"
|
||||
"env_vars_file": "examplar.variables",
|
||||
"shell": "/bin/bash"
|
||||
}
|
||||
|
||||
@@ -6,9 +6,10 @@
|
||||
"rectifier": "",
|
||||
"active": true,
|
||||
"required": true,
|
||||
"user": "root",
|
||||
"group": "root",
|
||||
"rectify": false
|
||||
"user": "bagira",
|
||||
"group": "bagira",
|
||||
"rectify": false,
|
||||
"shell": "/usr/bin/env bash"
|
||||
},
|
||||
{
|
||||
"name": "independent test 2",
|
||||
@@ -18,7 +19,8 @@
|
||||
"required": false,
|
||||
"user": "bagira",
|
||||
"group": "bagira",
|
||||
"rectify": false
|
||||
"rectify": false,
|
||||
"shell": "/usr/bin/env bash"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user