[systemd-devel] Still confused with socket activation
Benjamin Berg
benjamin at sipsolutions.net
Thu Feb 4 11:46:38 UTC 2021
On Wed, 2021-02-03 at 16:43 +0100, Reindl Harald wrote:
> seriously - explain what you expect to happen in case of
>
> Requires=a.service
> Before=a.service
>
> except some warning that it's nonsense
So, one way I used it is as ExecStartPost= equivalent for a .target
unit. i.e. pull in a Type=oneshot service once a target has become
active in order to execute a simple command.
Benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20210204/d09ff6de/attachment.sig>
More information about the systemd-devel
mailing list