chore(*): split out unit processing from config.Apply
This commit is contained in:
committed by
Michael Marineau
parent
a55e2cd49b
commit
be51f4eba0
@@ -60,7 +60,7 @@ func probe8012q() error {
|
||||
}
|
||||
|
||||
func restartNetworkd() error {
|
||||
_, err := RunUnitCommand("restart", "systemd-networkd.service")
|
||||
_, err := NewUnitManager("").RunUnitCommand("restart", "systemd-networkd.service")
|
||||
return err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user