summaryrefslogtreecommitdiff
path: root/socket.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-08 03:48:27 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-08 03:48:27 +0200
commit70123e68a04016efca9266fc22dd05a0a7fd2d51 (patch)
treea646294459718e276622df7410cdbf010ebf6e7d /socket.c
parent7072ced8274274cd1b0fa085dd4118462e03884e (diff)
service/socket: show main/control pids in dump
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/socket.c b/socket.c
index 617a49a075..51bfc9a88d 100644
--- a/socket.c
+++ b/socket.c
@@ -196,6 +196,11 @@ static void socket_dump(Unit *u, FILE *f, const char *prefix) {
prefix, s->socket_mode,
prefix, s->directory_mode);
+ if (s->control_pid > 0)
+ fprintf(f,
+ "%sControl PID: %llu\n",
+ prefix, (unsigned long long) s->control_pid);
+
if (s->bind_to_device)
fprintf(f,
"%sBindToDevice: %s\n",