Merge pull request #55 from bcwaldon/drop-reload

fix(units): Drop automatic daemon-reload
This commit is contained in:
Brian Waldon 2014-03-27 18:12:22 -07:00
commit b4027077ff

View File

@ -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 { for unit, command := range commands {
log.Printf("Calling unit command '%s %s'", command, unit) log.Printf("Calling unit command '%s %s'", command, unit)
res, err := system.RunUnitCommand(command, unit) res, err := system.RunUnitCommand(command, unit)