summaryrefslogtreecommitdiff
path: root/src/core/service.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-07-22 14:17:12 +0200
committerTom Gundersen <teg@jklm.no>2015-07-22 14:17:12 +0200
commitbd37a92297a89f00d03757cf860dff9a8ae59b16 (patch)
treefa59bf0f807848e232f8b083f81724579599b6cf /src/core/service.c
parent75cb22f1bf5a4ca465221f6041be96d10c95ff8d (diff)
parent64f575d2ab9a6743d3c7172b7591c88ba243cf1b (diff)
Merge pull request #647 from michich/job-logging
Job logging fixes and improvements
Diffstat (limited to 'src/core/service.c')
-rw-r--r--src/core/service.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/service.c b/src/core/service.c
index d72ff54daa..39a2507b6f 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -1974,7 +1974,7 @@ static int service_reload(Unit *u) {
assert(s->state == SERVICE_RUNNING || s->state == SERVICE_EXITED);
service_enter_reload(s);
- return 0;
+ return 1;
}
_pure_ static bool service_can_reload(Unit *u) {
@@ -3229,13 +3229,10 @@ const UnitVTable service_vtable = {
.finished_start_job = {
[JOB_DONE] = "Started %s.",
[JOB_FAILED] = "Failed to start %s.",
- [JOB_DEPENDENCY] = "Dependency failed for %s.",
- [JOB_TIMEOUT] = "Timed out starting %s.",
},
.finished_stop_job = {
[JOB_DONE] = "Stopped %s.",
[JOB_FAILED] = "Stopped (with error) %s.",
- [JOB_TIMEOUT] = "Timed out stopping %s.",
},
},
};