kornelski / cargo-deb

A cargo subcommand that generates Debian packages from information in Cargo.toml
https://lib.rs/cargo-deb
MIT License
404 stars 48 forks source link

How to adjust the order of systemd units in generated maintainer script #132

Open x1a0b0 opened 3 weeks ago

x1a0b0 commented 3 weeks ago

Such as in postinst, the start order of systemd units are critical in this case: socket unit must start before service unit cause of socket activation is enabled