systemd: Fix detection and switch to the coreos package everywhere

rather than having 2 separate libraries

Signed-off-by: Anagh Kumar Baranwal <6824881+darthShadow@users.noreply.github.com>
This commit is contained in:
Anagh Kumar Baranwal
2023-11-29 14:55:30 +05:30
committed by Nick Craig-Wood
parent f0c774156e
commit 298c13e719
10 changed files with 72 additions and 55 deletions

View File

@@ -6,8 +6,8 @@ package docker
import (
"os"
"github.com/coreos/go-systemd/activation"
"github.com/coreos/go-systemd/util"
"github.com/coreos/go-systemd/v22/activation"
"github.com/coreos/go-systemd/v22/util"
)
func systemdActivationFiles() []*os.File {