go-systemd icon indicating copy to clipboard operation
go-systemd copied to clipboard

unit: try to avoid unit file modification

Open kayrus opened this issue 9 years ago • 1 comments

@jonboulle it still skips commented strings, not sure how can I implement that...

main goal is to keep unit files unmodified when it is possible.

resolves https://github.com/coreos/fleet/issues/1539

kayrus avatar Apr 08 '16 17:04 kayrus

@kayrus I definitely appreciate the sentiment, but I'm a little ambivalent about this just being a partial promise, since as you note we still ignore comments. (personally, I regret the unit code ever went down the lexing path, since it's caused us so many problems :/).

jonboulle avatar Apr 18 '16 13:04 jonboulle