summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-11-20 00:19:00 +0100
committerLennart Poettering <lennart@poettering.net>2012-11-20 00:21:44 +0100
commit10f70492aea211981e4bdbe58dd7ea110e05cd16 (patch)
tree8ad83db6ed6342cd5ab58f6f3830db166c79d808 /src
parent78db35f37172f64bfc62cbb2aa364345b7cff0a3 (diff)
socket: improve error message when we cannot spawn the socket's service unit
Diffstat (limited to 'src')
-rw-r--r--src/core/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/socket.c b/src/core/socket.c
index c0959815c1..f4f40afa90 100644
--- a/src/core/socket.c
+++ b/src/core/socket.c
@@ -1542,7 +1542,7 @@ static void socket_enter_running(Socket *s, int cfd) {
return;
fail:
- log_warning("%s failed to queue socket startup job: %s", UNIT(s)->id, bus_error(&error, r));
+ log_warning("%s failed to queue service startup job (Maybe the service file is missing or not a %s unit?): %s", UNIT(s)->id, cfd >= 0 ? "template" : "non-template", bus_error(&error, r));
socket_enter_stop_pre(s, SOCKET_FAILURE_RESOURCES);
if (cfd >= 0)