[systemd-devel] [PATCH 3/6] [RFE] Add OnStop rule
AvataR
public.avatar at gmail.com
Tue Nov 20 12:11:48 PST 2012
> Hmm, what is the use case?
As for OnFailure=, but opposite. Usefull for doing dangerous jobs in
mode like emergency, but not interactive. Like core configuration
files/software updates. Pushing OnStop=default.target to that unit
I create way home, and JobSecTimeout+OnFailure=emergency.target way to fixing.
Personaly I use it to quick soft reload userspace after update >_<
> With two unit files which have OnStop= on each other you can implement
> a loop.
Yeah, that's cool
// Wbr, Alex
More information about the systemd-devel
mailing list