On 05/15/2011 04:08 PM, Lennart Poettering wrote:
Well, but ExecStartPre= doesn't help you with this. As it is run
after the service is already stopped.
It has been suggested that we add ExecRestartPre=, i.e. something we run
before stopping a service for a restart. It has been on the TODO list
for a while, but is currently not available. ExecStartPre= doesn't
appear useful for this stuff at all to me.
Would not ExecStopPre= suffice for this ?