mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-20 01:00:51 +00:00
socket: improve error message when we cannot spawn the socket's service unit
This commit is contained in:
parent
78db35f371
commit
10f70492ae
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user