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