From aa42aaf8b8bcec6429e6ddaff293200f9ebf8500 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Mon, 5 Jul 2021 13:50:45 +0000 Subject: [PATCH] setup.py: Install the logs archivel script --- setup.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/setup.py b/setup.py index 127c984..bfd0c6b 100644 --- a/setup.py +++ b/setup.py @@ -106,6 +106,16 @@ shutil.copy( '%s/start-eddn-%s-service' % ( START_SCRIPT_BIN, setup_env.EDDN_ENV ) ) +# Ensure the service log file archiving script is in place +print """ +****************************************************************************** +Ensuring the service log file archiving script is in place +""" +shutil.copy( + 'contrib/eddn-logs-archive', + START_SCRIPT_BIN +) + # Ensure the latest monitor files are in place old_umask = os.umask(022) print """