k3s/pkg/agent/containerd
Brad Davidson 07c436a643 Fix server systemd detection
* Use INVOCATION_ID to detect execution under systemd, since as of a9b5a1933f NOTIFY_SOCKET is now cleared by the server code.
* Set the unit type to notify by default for both server and agent, which is what Rancher-managed installs have done for a while.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit bd5fdfce33)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-08-04 09:40:01 -07:00
..
command.go fix formatting 2020-02-23 00:48:26 -08:00
command_windows.go fix formatting 2020-02-23 00:48:26 -08:00
config_linux.go Fix server systemd detection 2022-08-04 09:40:01 -07:00
config_windows.go Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
containerd.go Ensure that CONTAINERD_ variables are not shadowed by later entries 2022-06-15 10:58:29 -07:00
nvidia.go Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
nvidia_test.go Replace rancher with k3s-io (#5585) 2022-05-19 15:54:21 -07:00
selinux.go Simplify SELinux detection and add --disable-selinux flag 2020-02-28 10:10:55 -07:00