Am 22.07.2011 15:32, schrieb Russell Coker: > On Fri, 22 Jul 2011, Tollef Fog Heen <tfh...@err.no> wrote: >> Another would be to ship three systemd units, one being «smtp», one >> being «queue runner» a third being «smtp+queue runner» or just generate >> the .service file dynamically based on what the admin configures through >> debconf. > > If there were systemd units for smtp and the queue runner then the sysadmin > could easily request systemd to stop one without the other.
If you want to avoid that you can bind those units together via BindTo [1]. This way, if one of the units is stopped, the other(s) will be stopped too. Cheers, Michael [1] http://0pointer.de/public/systemd-man/systemd.unit.html -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature