smeserver-base/root/etc/e-smith/events/actions/systemd-journald

6 lines
141 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
if [[ ! -d /var/log/journal ]]; then
mkdir -p /var/log/journal
/usr/bin/systemd-tmpfiles --create --prefix /var/log/journal
fi