[Install] for static systemd unit file?

Michael Biebl biebl at debian.org
Wed Mar 1 21:01:39 GMT 2017


Am 01.03.2017 um 21:51 schrieb Patrick Schleizer:
> Michael Biebl:
>> Am 01.03.2017 um 21:35 schrieb Patrick Schleizer:
>>> Hi!
>>>
>>> TLDR:
>>>
>>> How should the [Install] section for static systemd unit file look like?
>>
>> The obvious question is: why does this service need to be statically
>> enabled?
> 
> Given the example... With this socket / service file combination, I
> wouldn't know how to enable the service non-statically.

What's the problem?
Services are typically hooked up in multi-user.target, sockets in
sockets.target.


> I am still interested to do things the right way. Hence, I am asking
> here for advice.

Well, inventing a none.target is certainly wrong.




-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170301/75201bdd/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list