fleet/orbit/pkg
Frederico F. de Oliveira 80ef806b2f
linux_shared.go: update postinstall script (#3959)
1. In sh, `which` is actually a binary usually located at `/usr/bin`, but not every GNU/Linux distribution comes with it installed by default. Whereas, `command` is a built-in shell tool, hence, it's safer to use it instead of which to verify if a binary is present in the machine
2. I believe there was a typo in the redirections in the `systemctl daemon-reload 2>/dev/null 2>&1` line
3. The `systemctl enable` command is necessary because the service is created, but not activated, meaning when the user reboots his machine orbit won't automatically relaunch
2022-01-31 15:56:05 -08:00
..
constant Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
database Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
insecure Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
osquery Improve Orbit debug logging (#3687) 2022-01-13 16:54:28 -08:00
packaging linux_shared.go: update postinstall script (#3959) 2022-01-31 15:56:05 -08:00
platform Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
process Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
table Improve Orbit debug logging (#3687) 2022-01-13 16:54:28 -08:00
update Improve Orbit debug logging (#3687) 2022-01-13 16:54:28 -08:00