k3s/pkg/agent/containerd
Brad Davidson bd5fdfce33 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>
2022-07-21 13:42:20 -07:00
..
command_windows.go fix formatting 2020-02-23 00:48:26 -08:00
command.go Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00
config_linux.go Fix server systemd detection 2022-07-21 13:42:20 -07:00
config_windows.go Add systemd cgroup controller support 2022-04-29 09:22:57 -07:00
containerd.go Ensure that CONTAINERD_ variables are not shadowed by later entries 2022-06-15 10:58:12 -07:00
nvidia_test.go [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
nvidia.go [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
selinux.go Simplify SELinux detection and add --disable-selinux flag 2020-02-28 10:10:55 -07:00