]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd.exec.xml
core: set $SERVICE_RESULT, $EXIT_CODE and $EXIT_STATUS in ExecStop=/ExecStopPost...
authorLennart Poettering <lennart@poettering.net>
Wed, 27 Jul 2016 09:51:11 +0000 (11:51 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 4 Aug 2016 21:08:05 +0000 (23:08 +0200)
commit136dc4c4350dfcb1d61ceaac982d0d0a8e6e3863
tree7a072beabe4f0076d91fdff5efeefff05d5b0a54
parentaf9d16e10a23899b821af19e54e339486a86bd82
core: set $SERVICE_RESULT, $EXIT_CODE and $EXIT_STATUS in ExecStop=/ExecStopPost= commands

This should simplify monitoring tools for services, by passing the most basic
information about service result/exit information via environment variables,
thus making it unnecessary to retrieve them explicitly via the bus.
man/systemd.exec.xml
man/systemd.service.xml
src/core/execute.h
src/core/service.c