setup.py: Install the logs archivel script

This commit is contained in:
Athanasius 2021-07-05 13:50:45 +00:00
parent 1e9a5e6212
commit aa42aaf8b8

View File

@ -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 """