summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-10-11 23:25:43 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-10-12 13:58:54 -0400
commit37b7affefde5443680d73642a990ce86776e28af (patch)
treefdad8bb6d7c1f79fd678f4f9520c781a431fcd2a /src/journal
parent7d18d348da26fdbb392c76b0f5edb7f06282afbb (diff)
Document journald sockets paths a bit more
Adding them to the documentation makes it easier to find the right man page for people who are trying to understand where some socket in the filesystem is coming from.
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journald-server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c
index ae325c439e..3d5f2524fe 100644
--- a/src/journal/journald-server.c
+++ b/src/journal/journald-server.c
@@ -1573,18 +1573,23 @@ int server_init(Server *s) {
no_sockets = s->native_fd < 0 && s->stdout_fd < 0 && s->syslog_fd < 0 && s->audit_fd < 0;
/* always open stdout, syslog, native, and kmsg sockets */
+
+ /* systemd-journald.socket: /run/systemd/journal/stdout */
r = server_open_stdout_socket(s);
if (r < 0)
return r;
+ /* systemd-journald-dev-log.socket: /run/systemd/journal/dev-log */
r = server_open_syslog_socket(s);
if (r < 0)
return r;
+ /* systemd-journald.socket: /run/systemd/journal/socket */
r = server_open_native_socket(s);
if (r < 0)
return r;
+ /* /dev/ksmg */
r = server_open_dev_kmsg(s);
if (r < 0)
return r;