Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

systemd: turn off force flag when calling LinkUnitFiles() #1694

Open
dongsupark opened this issue Oct 26, 2016 · 0 comments
Open

systemd: turn off force flag when calling LinkUnitFiles() #1694

dongsupark opened this issue Oct 26, 2016 · 0 comments

Comments

@dongsupark
Copy link
Contributor

dongsupark commented Oct 26, 2016

At the moment systemdUnitManager.writeUnit() calls systemd.LinkUnitFiles() with the force flag turned on. This brings negative impact on performance.

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.

/cc @hectorj2f
See also coreos/go-systemd#189

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant