Open dongsupark opened 8 years ago
At the moment systemdUnitManager.writeUnit() calls systemd.LinkUnitFiles() with the force flag turned on. This brings negative impact on performance.
systemdUnitManager.writeUnit()
systemd.LinkUnitFiles()
force
So force should be set to false by default. It might be also a good idea to introduce a new option in fleetd.conf, so that users are able to set the flag.
false
fleetd.conf
/cc @hectorj2f See also https://github.com/coreos/go-systemd/issues/189
At the moment
systemdUnitManager.writeUnit()
callssystemd.LinkUnitFiles()
with theforce
flag turned on. This brings negative impact on performance.So
force
should be set tofalse
by default. It might be also a good idea to introduce a new option infleetd.conf
, so that users are able to set the flag./cc @hectorj2f See also https://github.com/coreos/go-systemd/issues/189