Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
fix: make systemd service files world readable
Browse files Browse the repository at this point in the history
  • Loading branch information
eliobischof committed Sep 8, 2020
1 parent 0b1d14a commit d96e483
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/operator/nodeagent/dep/health/dep.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ RestartSec=10
[Install]
WantedBy=multi-user.target
`, location, quote(args))), 0600); err != nil {
`, location, quote(args))), 0644); err != nil {
return err
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ RestartSec=10
[Install]
WantedBy=multi-user.target
`, binary, machine.ID())), 600), "creating remote file %s failed", systemdPath)
`, binary, machine.ID())), 644), "creating remote file %s failed", systemdPath)
}); err != nil {
return errors.Wrap(err, "remotely configuring Node Agent systemd unit failed")
}
Expand Down

0 comments on commit d96e483

Please sign in to comment.