From adc03e35c67f8bb32a901f6ed105ca033a1c2e72 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Tue, 6 Jul 2021 13:21:01 +0000 Subject: [PATCH] setup.py: Note why start-eddn-service is copied to per-env name --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 95c8c69..215cd3a 100644 --- a/setup.py +++ b/setup.py @@ -101,6 +101,8 @@ shutil.copy( 'systemd/eddn_%s_config' % ( setup_env.EDDN_ENV), '%s/eddn_%s_config' % ( START_SCRIPT_BIN, setup_env.EDDN_ENV ) ) +# NB: We copy to a per-environment version so that, e.g.live use won't break +# due to changes in the other environments. shutil.copy( 'systemd/start-eddn-service', '%s/start-eddn-%s-service' % ( START_SCRIPT_BIN, setup_env.EDDN_ENV )