From: systemd-devel <[email protected]> On Behalf Of Mantas Mikulenas Sent: Tuesday, November 12, 2024 11:24 AM To: Tony Rodriguez <[email protected]> Cc: [email protected] Subject: [EXT] Re: [systemd-devel] Help: Questions regarding systemd service order
On Tue, Nov 12, 2024 at 12:13 PM Tony Rodriguez <[email protected]<mailto:[email protected]>> 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 😉
