wip: created example files with new config and implementing new config in init

This commit is contained in:
2024-03-24 13:24:47 +11:00
parent 6032b6c0c1
commit 8f68c4ace9
12 changed files with 108 additions and 28 deletions
+4 -1
View File
@@ -23,7 +23,8 @@ type TaskStatus interface {
type Task interface {
Name() string
Command() []string
Command() string
Arguments() []string
Environ() []string
Setsid() bool
UserGroup() UserGroup
@@ -47,6 +48,8 @@ type ServiceTask interface {
type Config interface {
Tasks() Tasks
WMPidProxyPath() string
WMExecPath() string
}
type Init struct {