fix(units): Drop automatic daemon-reload
This commit is contained in:
parent
b246ec0397
commit
580460ff3f
@ -153,10 +153,6 @@ func Apply(cfg CloudConfig, env *Environment) error {
|
||||
}
|
||||
}
|
||||
|
||||
if err := system.DaemonReload(); err != nil {
|
||||
log.Fatalf("Failed systemd daemon-reload: %v", err)
|
||||
}
|
||||
|
||||
for unit, command := range commands {
|
||||
log.Printf("Calling unit command '%s %s'", command, unit)
|
||||
res, err := system.RunUnitCommand(command, unit)
|
||||
|
Loading…
Reference in New Issue
Block a user