Skip to content

Commit

Permalink
Merge pull request #1004 from mariux64/use-volatile-storage-for-journ…
Browse files Browse the repository at this point in the history
…al-data

Use volatile storage for journal data
  • Loading branch information
donald authored Jan 15, 2019
2 parents 99c0dea + f4ea0f0 commit 5e04f3b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion systemd.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION systemd-239-1
# BEE_VERSION systemd-239-2

## this file was created by bee init and should be executed to build a
## bee-package. (Additional hints are located at the end of this file.)
Expand Down Expand Up @@ -98,6 +98,12 @@ mee_install_post() {
rm -rv ${D}/etc/systemd/system/dbus-org.freedesktop.network1.service
rm -rv ${D}/etc/systemd/system/multi-user.target.wants/systemd-networkd.service
rm -rv ${D}/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service

# Remove directory to disable persistent storage of logs
rm -rv ${D}/var/log/journal

# Explicitly configure volatile storage of logs
start_cmd sed -i 's/^#Storage=auto/Storage=volatile/' ${D}/etc/systemd/journald.conf
}

###############################################################################
Expand Down

0 comments on commit 5e04f3b

Please sign in to comment.