#!/bin/sh # journald opens its own sockets in /run/systemd/journal when no service # manager passes them, and reads the kernel log from /dev/kmsg. With no # /var/log/journal it keeps the journal in /run/log/journal. exec 2>&1 # The link systemd makes from its socket unit: syslog(3) goes to journald. ln -sfn /run/systemd/journal/dev-log /dev/log exec /usr/lib/systemd/systemd-journald