[systemd-devel] [PATCH 3/6] [RFE] Add OnStop rule

Lennart Poettering lennart at poettering.net
Tue Nov 20 09:56:56 PST 2012


On Sat, 03.11.12 21:52, Oleksii Shevchuk (alxchk at gmail.com) wrote:

> Add deps to run when unit successfuly stopped

Hmm, what is the use case?

I am a bit concerned about this change, as this turns systemd unit files
into a turing complete language. With two unit files which have OnStop=
on each other you can implement a loop. That sounds very dangerous to
me.

Can you elaborate on the usecase for this? Maybe we can find a different
solution?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list