Skip to content

Commit

Permalink
[windows][services] infra, apm, process agents delayed start (#1317)
Browse files Browse the repository at this point in the history
  • Loading branch information
truthbk authored Feb 21, 2018
1 parent c889987 commit a11ad67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/systray/systray.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ func main() {
}

if err := ni.ShowCustom(
"Walk NotifyIcon Example",
"There are multiple ShowX methods sporting different icons."); err != nil {
"Datadog Agent Manager",
"Please right click to display available options."); err != nil {

log.Warnf("Failed to show custom message %v", err)
}
Expand Down
3 changes: 3 additions & 0 deletions omnibus/resources/agent/msi/source.wxs.erb
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
Vital="yes"
Interactive="no"
Account="LocalSystem">
<ServiceConfig DelayedAutoStart="yes" OnInstall="yes" OnReinstall ="yes" />
<util:ServiceConfig
FirstFailureActionType='restart'
SecondFailureActionType='restart'
Expand Down Expand Up @@ -192,6 +193,7 @@
Interactive="no"
Account="LocalSystem"
Arguments="--config=c:\programdata\datadog\datadog.yaml" >
<ServiceConfig DelayedAutoStart="yes" OnInstall="yes" OnReinstall ="yes" />
<util:ServiceConfig
FirstFailureActionType='restart'
SecondFailureActionType='restart'
Expand Down Expand Up @@ -231,6 +233,7 @@
Vital="yes"
Interactive="no"
Account="LocalSystem">
<ServiceConfig DelayedAutoStart="yes" OnInstall="yes" OnReinstall ="yes" />
<util:ServiceConfig
FirstFailureActionType='restart'
SecondFailureActionType='restart'
Expand Down

0 comments on commit a11ad67

Please sign in to comment.