summaryrefslogtreecommitdiff
path: root/src/core/service.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-12-07 21:35:07 +0100
committerGitHub <noreply@github.com>2016-12-07 21:35:07 +0100
commite332833f070481223b949f9cc21d7e619e17e234 (patch)
treed2d8405c6cec82040cc2cdf69a12b10bd458c9c0 /src/core/service.h
parent618b196e9de0aa233d080d0b48c1ba24f3ab86bc (diff)
parentc3fda31da36706b045f5de800d6a77e65e7a8ec9 (diff)
Merge pull request #4843 from joukewitteveen/protocol
Go through stop_post on failure (#4770)
Diffstat (limited to 'src/core/service.h')
-rw-r--r--src/core/service.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/service.h b/src/core/service.h
index e09722a952..ff9cfaeb88 100644
--- a/src/core/service.h
+++ b/src/core/service.h
@@ -79,6 +79,8 @@ typedef enum NotifyState {
_NOTIFY_STATE_INVALID = -1
} NotifyState;
+/* The values of this enum are referenced in man/systemd.exec.xml and src/shared/bus-unit-util.c.
+ * Update those sources for each change to this enum. */
typedef enum ServiceResult {
SERVICE_SUCCESS,
SERVICE_FAILURE_RESOURCES, /* a bit of a misnomer, just our catch-all error for errnos we didn't expect */