diff --git a/go.mod b/go.mod index c423ba3..2031667 100644 --- a/go.mod +++ b/go.mod @@ -2,12 +2,10 @@ module github.com/grmrgecko/go-network-configurator go 1.24.2 -replace github.com/coreos/go-systemd => github.com/coreos/go-systemd/v22 v22.5.0 - require ( dario.cat/mergo v1.0.2 github.com/Wifx/gonetworkmanager/v3 v3.2.0 - github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf + github.com/coreos/go-systemd/v22 v22.5.0 github.com/godbus/dbus/v5 v5.1.0 github.com/kylelemons/godebug v1.1.0 github.com/prometheus-community/pro-bing v0.7.0 diff --git a/services_linux.go b/services_linux.go index 59daf97..5403f99 100644 --- a/services_linux.go +++ b/services_linux.go @@ -9,7 +9,7 @@ import ( "path/filepath" "strings" - dbus "github.com/coreos/go-systemd/dbus" + dbus "github.com/coreos/go-systemd/v22/dbus" ) // rcRunlevels are the SysV runlevels a network service can be started in.