Skip to content

Commit 85cfb21

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Pre create logs directory for atop"
2 parents ab9fb4e + 9f2f499 commit 85cfb21

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/atop

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ _XTRACE_ATOP=$(set +o | grep xtrace)
1919
set +o xtrace
2020

2121
function configure_atop {
22-
cat <<EOF | sudo tee /etc/default/atop >/dev/null
22+
mkdir -p $LOGDIR/atop
23+
cat <<EOF | sudo tee /etc/default/atop >/dev/null
2324
# /etc/default/atop
2425
# see man atoprc for more possibilities to configure atop execution
2526

0 commit comments

Comments
 (0)