Am 04.02.21 um 12:46 schrieb Benjamin Berg:
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
"Requires=a.service" combined with "Before=a.service" is contradictory -
don't you get that?
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel