You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In reality this is not possible. All units have common options. We need at least a documentation update.
Further it is a good feature to support individual options. This is especially desirable since cargo-deb adds snippets for all service files it finds in assets even if they are not mentioned in system-units, meaning there is no way to stop cargo-deb from generating snippets for a specific unit file if I don't want it to. My package has multiple unit files and only one of them need to be started post-install.
Thank you for looking into this. I can submit a patch if this is a feature you are willing to support.
The text was updated successfully, but these errors were encountered:
The documentation at https://github.com/kornelski/cargo-deb/blob/main/systemd.md has following snippet:
This seems to indicate that it is possible to enable or disable the unit file independently. That is the following configuration is possible:
In reality this is not possible. All units have common options. We need at least a documentation update.
Further it is a good feature to support individual options. This is especially desirable since cargo-deb adds snippets for all service files it finds in
assets
even if they are not mentioned insystem-units
, meaning there is no way to stop cargo-deb from generating snippets for a specific unit file if I don't want it to. My package has multiple unit files and only one of them need to be started post-install.Thank you for looking into this. I can submit a patch if this is a feature you are willing to support.
The text was updated successfully, but these errors were encountered: