lxc-config/hooks/remove-journal
2014-08-18 10:29:43 +02:00

11 lines
122 B
Bash
Executable File

#!/bin/bash
set -xeu
JOURNAL="$LXC_ROOTFS_PATH/var/log/journal"
if [ -d "$JOURNAL" ]; then
cd $JOURNAL
rm -rf *
fi