Hi Eric, Eric Cooper <e...@cmu.edu> writes: > I'll have to detect a systemd installation and handle that > differently, including setting the port in the approx.socket file > somehow. Do you know of any other packages that already do something > like this? To determine whether systemd is currently running on a system, use [ -d /sys/fs/cgroup/systemd ].
I know of no other packages which change systemd unit file information according to debconf. Please be aware that some additional plumbing is needed in Debian in order to sync enable/disable service state across init systems. I’d advise to not ship the file in the next upload, but to wait until the pending dh changes are merged. -- Best regards, Michael -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org