[systemd-devel] WantedBy=default.target

Reindl Harald h.reindl at thelounge.net
Thu Mar 7 17:55:21 UTC 2019



Am 07.03.19 um 18:48 schrieb Tomasz Torcz:
> On Thu, Mar 07, 2019 at 11:24:08AM +0100, Lennart Poettering wrote:
>> 2. rtags (it uses default.target in a socket file, which is even
>>    weirder, should use sockets.target)
> 
>   sockets.target is rather odd for me. If I had (hypothetical)
> socket-activable service, which is only relevant in GUI environment,
> I would like its socket to be pulled in by graphical.target. Using
> sockets.target would let my hypothetical service to be available in
> text-only boot.

why should it be only relevant in GUI environment?

sshd and tftp are the best examples - no need to run sshd permenently on
30 vservers espeieally that it anyways fire up a new process per connection


More information about the systemd-devel mailing list