Skip to content

Commit

Permalink
Create /var/log/journal
Browse files Browse the repository at this point in the history
Fixes #9614.

(cherry picked from commit 6ab7e0d)
  • Loading branch information
edolstra authored and lucabrunox committed Sep 3, 2015
1 parent 8ce4639 commit 538958b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nixos/modules/system/boot/systemd.nix
Expand Up @@ -643,6 +643,10 @@ in
if ! [ -e /etc/machine-id ]; then
${systemd}/bin/systemd-machine-id-setup
fi
# Keep a persistent journal. Note that systemd-tmpfiles will
# set proper ownership/permissions.
mkdir -m 0700 -p /var/log/journal
'';

users.extraUsers.systemd-network.uid = config.ids.uids.systemd-network;
Expand Down

0 comments on commit 538958b

Please sign in to comment.