wip: task structure

This commit is contained in:
Suyono 2024-01-07 08:49:21 +00:00
parent a2f7dbca82
commit 99436e54cd

View File

@ -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 {