Hello,
While converting from Upstart to SystemD, came upon this issue. Is this case
not covered or am I missing something?
In Upstart, I can start a job when another job fails, and there's a $JOB
variable that tells me what was the job that failed.
start on (stopped RESULT=failed PROCESS=post-stop)
script
echo "this just failed: $JOB"
end script
In SystemD I can register a unit to be started when another unit fails. But
there seems to be no way of knowing what unit failed. Is that correct?
Thanks,
Alexander
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel