On Fri, 13.09.13 02:34, 황재영 ([email protected]) wrote: > Hello guys. > > I'm searching an option that activate unit (or units) when an unit enter > "deactivated" state. > > I know "OnFailure" option, but that is activated when entering "failed" > state only. > > Is threr any option that can be activated when all case?
No this is not available. We don't want to turn systemd units into a Turing complete language, so I am really conservative on adding something liket this. Note however, that with Type=oneshot services you can get something similar, simply by queuing multiple oneshot services with ordering dependencies in to the systemd job queue. Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
