Closed noyez closed 1 year ago
Thanks. It also needs to be documented.
Thanks. It also needs to be documented.
You mean an updated https://github.com/kornelski/cargo-deb/blob/main/systemd.md? I'll open another PR for that.
Unfortunately, this is not backwards-compatible: 9acaaa22d260855a824fd26456877b1b650de178
Can you change the serde definition in CargoDeb
to take an enum that is either one unit or a vec?
Ahh yes, i know exactly what you mean. I can do this.
This adds the ability to specify multiple unit files for the debian package with the following syntax:
This is intended address issue: #42. This worked for my use-case, it passed>` and everything else mostly fell into place thanks to the rust type system.
cargo test
. I'm not sure what other tests are needed. It works by makingCargoDeb::systemd_units
from anOption<SystemdUnitsConfig>' to an
Option<Vec