From 4c8702b0e2021a7f7eb813e978663e2727eaafdc Mon Sep 17 00:00:00 2001 From: Jens Rosenboom Date: Thu, 5 Jan 2017 15:21:19 +0100 Subject: [PATCH] Also show apache config files as .txt These would also be nice to be able to be viewed online instead of having to be downloaded. Change-Id: I7a91462dada91de41d8a1524124f0bff7b8a891a --- functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.sh b/functions.sh index fb5d2ae0..f0dbf41e 100644 --- a/functions.sh +++ b/functions.sh @@ -958,7 +958,7 @@ function cleanup_host { # append .txt to all config files # (there are some /etc/swift .builder and .ring files that get # caught up which aren't really text, don't worry about that) - find $BASE/logs/sudoers.d $BASE/logs/etc -type f -exec mv '{}' '{}'.txt \; + find $BASE/logs/{apache_config,etc,sudoers.d} -type f -exec mv '{}' '{}'.txt \; # rabbitmq if [ -f $BASE/logs/rabbitmq/ ]; then