Skip to content

Commit

Permalink
use different rc db paths for cmd and daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyalexandersoftware committed Sep 24, 2024
1 parent 3bb5a50 commit dbaae27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/installer/subcommands/installer/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func newInstallerCmd(operation string) (_ *installerCmd, err error) {
cmd.Stop(err)
}
}()
i, err := installer.NewInstaller(cmd.env, "opt/datadog-packages/run/rc")
i, err := installer.NewInstaller(cmd.env, "opt/datadog-packages/run/rc/cmd")
if err != nil {
return nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/fleet/daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func NewDaemon(rcFetcher client.ConfigFetcher, config config.Reader) (Daemon, er
}
env := env.FromConfig(config)
installer := newInstaller(env, installerBin)
cdn, err := cdn.New(env, "opt/datadog-packages/run/rc")
cdn, err := cdn.New(env, "opt/datadog-packages/run/rc/daemon")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit dbaae27

Please sign in to comment.