> Socket activation is not a workaround for services not able to open
> sockets, it's an additional feature.
> http://0pointer.de/blog/projects/socket-activation.html

Thanks for the link, good read.

You are right, both unit files have to be kept. In that case,
there is an option Also= for the [Install] section of service
unit files that can be used to take care of "Additional units to
install/deinstall" (see systemd.unit manpage).

So let's add

[Install]
...
Also=mpd.socket

to /lib/systemd/system/mpd.service

That would make sure that disabling the service doesn't leave the
socket hanging around.

Now, this is not related to update-rc.d and the original
bug. Should I open a new one?


Clément


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to