wip: task structure
This commit is contained in:
parent
a2f7dbca82
commit
99436e54cd
@ -59,6 +59,9 @@ func (ts *Tasks) Get(name string) (wminit.Task, error) {
|
||||
type ServiceTask struct {
|
||||
name string
|
||||
command []string
|
||||
environ []string
|
||||
setsid bool
|
||||
//TODO: user group
|
||||
}
|
||||
|
||||
func (t *ServiceTask) Name() string {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user