socket: improve error message when we cannot spawn the socket's service unit

This commit is contained in:
Lennart Poettering 2012-11-20 00:19:00 +01:00
parent 78db35f371
commit 10f70492ae
1 changed files with 1 additions and 1 deletions

View File

@ -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)