From: systemd-devel <systemd-devel-boun...@lists.freedesktop.org> On Behalf Of 
Mantas Mikulenas
Sent: Tuesday, November 12, 2024 11:24 AM
To: Tony Rodriguez <unixpro1...@gmail.com>
Cc: systemd-devel@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 
<unixpro1...@gmail.com<mailto:unixpro1...@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 😉


Reply via email to