Compare commits
3 Commits
v0.10.8
...
0.10-relea
Author | SHA1 | Date | |
---|---|---|---|
|
ec4bfbc8fc | ||
|
de35d27bfc | ||
|
f0dea2475d |
@@ -38,7 +38,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
version = "0.10.8"
|
||||
version = "0.10.9"
|
||||
datasourceInterval = 100 * time.Millisecond
|
||||
datasourceMaxInterval = 30 * time.Second
|
||||
datasourceTimeout = 5 * time.Minute
|
||||
|
@@ -363,7 +363,12 @@ func processUnits(units []system.Unit, root string, um system.UnitManager) error
|
||||
}
|
||||
|
||||
if restartNetworkd {
|
||||
actions = append(actions, action{"systemd-networkd.service", "restart"})
|
||||
log.Printf("Restarting systemd-networkd")
|
||||
res, err := um.RunUnitCommand("restart", "systemd-networkd.service")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
log.Printf("Restarted systemd-networkd (%s)", res)
|
||||
}
|
||||
|
||||
for _, action := range actions {
|
||||
|
Reference in New Issue
Block a user