Dhionel Díaz <dd...@cenditel.gob.ve> writes: > El 20/06/16 a las 05:57, Christoph Berg escribió: > >> Re: Dhionel Díaz 2015-12-08 <5667290f.3060...@cenditel.gob.ve> >> >>> The attached patch was prepared to make csync2 a socket activated >>> service managed with systemd and avoid the use of inetd, >> >> Unfortunately I don't think we should apply it as-is for the time >> being, as it removes the actual inetd support, rendering csync2 >> unusable for people running systems on sysvinit. I'm not aware of a >> general solution for running inetd in parallel with socket-activated >> services from the same package, so this will likely need to wait until >> such a solution is found. > > Do you think an approach similar to the one implemented for saned > would be appropriate? > > In that way the sysadmin would be able to switch between inetd and > systemd support with just a few commands and inetd could also be > selected in the postinst to preserve the current behaviour.
What about depending on inetd | systemd-sysv and invoking update-inetd only if systemd is not running? Don't forget to depend on update-inetd as well. -- Feri