[systemd-devel] [EXT] Re: Help: Questions regarding systemd service order
Windl, Ulrich
u.windl at ukr.de
Thu Nov 14 09:28:00 UTC 2024
From: systemd-devel <systemd-devel-bounces at lists.freedesktop.org> On Behalf Of Mantas Mikulenas
Sent: Tuesday, November 12, 2024 11:24 AM
To: Tony Rodriguez <unixpro1970 at gmail.com>
Cc: systemd-devel at lists.freedesktop.org
Subject: [EXT] Re: [systemd-devel] Help: Questions regarding systemd service order
On Tue, Nov 12, 2024 at 12:13 PM Tony Rodriguez <unixpro1970 at gmail.com<mailto:unixpro1970 at gmail.com>> wrote:
Hoping I can accomplish the following via a simple UNIT modification or
service script?
Questions:
A) How can my service always runs "last" within local-fs-pre.target?
For Example:
Need my service to always run last within the local-fs-pre.target, even
if others add another services later within local-fs-pre.target. Still
want my service to always run last within this local-fs-pre.target.
Note: I will not know services others may later add within the
local-fs-pre.target
Systemd deliberately doesn't have a definite concept of "last" or "first". (More importantly, what happens if another service also wants to be "last"?)
[Windl, Ulrich]
They take each other’s hand and run in parallel 😉
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20241114/89bd9c8c/attachment.htm>
More information about the systemd-devel
mailing list