[systemd-devel] At wits end... need to execute a script prior to anything getting killed/changed on reboot/shutdown

Reindl Harald h.reindl at thelounge.net
Thu Jan 17 16:07:57 UTC 2019



Am 17.01.19 um 17:00 schrieb Christopher Cox:
> On 1/16/19 11:10 PM, Reindl Harald wrote:
>> that all is not really new and was not better with sysvinit, it only was
>> slow enough, full of sleep/usleep hacks and so most of the time by luck
>> worked but with no guarantess anyways
> 
> What I said it that synchronous execution of a script was possible prior
> to "the kills" in sysvinit.
> 
> And that made it "better" in that regard.
> 
> And still, I have no means of doing this in systemd.  Anyone?

see the other responses and just use After/Before proper in all units


More information about the systemd-devel mailing list