Skip to content

Commit

Permalink
winsw: add startmode and delayed autostart
Browse files Browse the repository at this point in the history
  • Loading branch information
et-nik committed Feb 29, 2024
1 parent 6450fe3 commit 0d024b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/processmanager/winsw.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,9 @@ type WinSWServiceConfig struct {
OnFailure []onFailure `xml:"onfailure,omitempty"`
ResetFailure string `xml:"resetfailure,omitempty"`

Startmode string `xml:"startmode,default=Automatic"`
DelayedAutoStart string `xml:"delayedAutoStart,default=true"`

Logpath string `xml:"logpath,omitempty"`
Log log `xml:"log,omitempty"`

Expand Down

0 comments on commit 0d024b9

Please sign in to comment.