From f758bfe8076c04cbeb46a42ab3f653d8b466a9b7 Mon Sep 17 00:00:00 2001 From: Benjamin Labrecque Date: Fri, 24 Jul 2026 16:37:33 +0200 Subject: [PATCH] chore: add python unbuffered to systemd unit files --- .../current/systemd/AGEBD-SERVICE-TEST-SERVICE.service | 1 + .../dbpm3curr/current/systemd/AGEBD-SERVICE-DBPM3CURR.service | 1 + .../current/systemd/AGEBD-SERVICE-INJECTIONGUARD.service | 1 + services/master/current/systemd/AGEBD-SERVICE-MASTER.service | 1 + services/nturns/current/systemd/AGEBD-SERVICE-NTURNS.service | 1 + .../orbitbump/current/systemd/AGEBD-SERVICE-ORBITBUMP.service | 1 + services/plots/current/systemd/AGEBD-SERVICE-PLOTS.service | 1 + .../current/systemd/AGEBD-SERVICE-POSTMORTEMLOG.service | 1 + .../scrubbing/current/systemd/AGEBD-SERVICE-SCRUBBING.service | 1 + .../shifttool/current/systemd/AGEBD-SERVICE-SHIFTTOOL.service | 1 + services/taubpm/current/systemd/AGEBD-SERVICE-TAUBPM.service | 1 + services/taupct/current/systemd/AGEBD-SERVICE-TAUPCT.service | 1 + services/timing/current/systemd/AGEBD-SERVICE-TIMING.service | 1 + .../topuptool/current/systemd/AGEBD-SERVICE-TOPUPTOOL.service | 1 + services/tune/current/systemd/AGEBD-SERVICE-TUNE.service | 1 + services/tunebump/current/systemd/AGEBD-SERVICE-TUNEBUMP.service | 1 + services/tunefbx/current/systemd/AGEBD-SERVICE-TUNEFBX.service | 1 + services/tunefby/current/systemd/AGEBD-SERVICE-TUNEFBY.service | 1 + .../systemd/AGEBD-SERVICE-{{service_name_upper}}.service.jinja | 1 + 19 files changed, 19 insertions(+) diff --git a/cli/tests/fixtures/expected_output/services/test-service/current/systemd/AGEBD-SERVICE-TEST-SERVICE.service b/cli/tests/fixtures/expected_output/services/test-service/current/systemd/AGEBD-SERVICE-TEST-SERVICE.service index 7dd04b1..7d5f7ef 100644 --- a/cli/tests/fixtures/expected_output/services/test-service/current/systemd/AGEBD-SERVICE-TEST-SERVICE.service +++ b/cli/tests/fixtures/expected_output/services/test-service/current/systemd/AGEBD-SERVICE-TEST-SERVICE.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh TEST-SERVICE Restart=no diff --git a/services/dbpm3curr/current/systemd/AGEBD-SERVICE-DBPM3CURR.service b/services/dbpm3curr/current/systemd/AGEBD-SERVICE-DBPM3CURR.service index 30104bc..dc46bb9 100644 --- a/services/dbpm3curr/current/systemd/AGEBD-SERVICE-DBPM3CURR.service +++ b/services/dbpm3curr/current/systemd/AGEBD-SERVICE-DBPM3CURR.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh DBPM3CURR Restart=no diff --git a/services/injectionguard/current/systemd/AGEBD-SERVICE-INJECTIONGUARD.service b/services/injectionguard/current/systemd/AGEBD-SERVICE-INJECTIONGUARD.service index 8bc6ae5..64f6675 100644 --- a/services/injectionguard/current/systemd/AGEBD-SERVICE-INJECTIONGUARD.service +++ b/services/injectionguard/current/systemd/AGEBD-SERVICE-INJECTIONGUARD.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh INJECTIONGUARD Restart=no diff --git a/services/master/current/systemd/AGEBD-SERVICE-MASTER.service b/services/master/current/systemd/AGEBD-SERVICE-MASTER.service index bb94171..aea7b97 100644 --- a/services/master/current/systemd/AGEBD-SERVICE-MASTER.service +++ b/services/master/current/systemd/AGEBD-SERVICE-MASTER.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh MASTER Restart=no diff --git a/services/nturns/current/systemd/AGEBD-SERVICE-NTURNS.service b/services/nturns/current/systemd/AGEBD-SERVICE-NTURNS.service index d330bb5..93bc014 100644 --- a/services/nturns/current/systemd/AGEBD-SERVICE-NTURNS.service +++ b/services/nturns/current/systemd/AGEBD-SERVICE-NTURNS.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh NTURNS Restart=no diff --git a/services/orbitbump/current/systemd/AGEBD-SERVICE-ORBITBUMP.service b/services/orbitbump/current/systemd/AGEBD-SERVICE-ORBITBUMP.service index 4358d12..36063b6 100644 --- a/services/orbitbump/current/systemd/AGEBD-SERVICE-ORBITBUMP.service +++ b/services/orbitbump/current/systemd/AGEBD-SERVICE-ORBITBUMP.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh ORBITBUMP Restart=no diff --git a/services/plots/current/systemd/AGEBD-SERVICE-PLOTS.service b/services/plots/current/systemd/AGEBD-SERVICE-PLOTS.service index a1b82cd..98888ed 100644 --- a/services/plots/current/systemd/AGEBD-SERVICE-PLOTS.service +++ b/services/plots/current/systemd/AGEBD-SERVICE-PLOTS.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh PLOTS Restart=no diff --git a/services/postmortemlog/current/systemd/AGEBD-SERVICE-POSTMORTEMLOG.service b/services/postmortemlog/current/systemd/AGEBD-SERVICE-POSTMORTEMLOG.service index eb0ff43..0c9bef2 100644 --- a/services/postmortemlog/current/systemd/AGEBD-SERVICE-POSTMORTEMLOG.service +++ b/services/postmortemlog/current/systemd/AGEBD-SERVICE-POSTMORTEMLOG.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh POSTMORTEMLOG Restart=no diff --git a/services/scrubbing/current/systemd/AGEBD-SERVICE-SCRUBBING.service b/services/scrubbing/current/systemd/AGEBD-SERVICE-SCRUBBING.service index 1bf2013..479b986 100644 --- a/services/scrubbing/current/systemd/AGEBD-SERVICE-SCRUBBING.service +++ b/services/scrubbing/current/systemd/AGEBD-SERVICE-SCRUBBING.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh SCRUBBING Restart=no diff --git a/services/shifttool/current/systemd/AGEBD-SERVICE-SHIFTTOOL.service b/services/shifttool/current/systemd/AGEBD-SERVICE-SHIFTTOOL.service index ee945c0..e1e1a1c 100644 --- a/services/shifttool/current/systemd/AGEBD-SERVICE-SHIFTTOOL.service +++ b/services/shifttool/current/systemd/AGEBD-SERVICE-SHIFTTOOL.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh SHIFTTOOL Restart=no diff --git a/services/taubpm/current/systemd/AGEBD-SERVICE-TAUBPM.service b/services/taubpm/current/systemd/AGEBD-SERVICE-TAUBPM.service index 2f3d8f3..7a2c19d 100644 --- a/services/taubpm/current/systemd/AGEBD-SERVICE-TAUBPM.service +++ b/services/taubpm/current/systemd/AGEBD-SERVICE-TAUBPM.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh TAUBPM Restart=no diff --git a/services/taupct/current/systemd/AGEBD-SERVICE-TAUPCT.service b/services/taupct/current/systemd/AGEBD-SERVICE-TAUPCT.service index 95c1241..8632a60 100644 --- a/services/taupct/current/systemd/AGEBD-SERVICE-TAUPCT.service +++ b/services/taupct/current/systemd/AGEBD-SERVICE-TAUPCT.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh TAUPCT Restart=no diff --git a/services/timing/current/systemd/AGEBD-SERVICE-TIMING.service b/services/timing/current/systemd/AGEBD-SERVICE-TIMING.service index 596bcec..37d3228 100644 --- a/services/timing/current/systemd/AGEBD-SERVICE-TIMING.service +++ b/services/timing/current/systemd/AGEBD-SERVICE-TIMING.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh TIMING Restart=no diff --git a/services/topuptool/current/systemd/AGEBD-SERVICE-TOPUPTOOL.service b/services/topuptool/current/systemd/AGEBD-SERVICE-TOPUPTOOL.service index beb2436..f322fb2 100644 --- a/services/topuptool/current/systemd/AGEBD-SERVICE-TOPUPTOOL.service +++ b/services/topuptool/current/systemd/AGEBD-SERVICE-TOPUPTOOL.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh TOPUPTOOL Restart=no diff --git a/services/tune/current/systemd/AGEBD-SERVICE-TUNE.service b/services/tune/current/systemd/AGEBD-SERVICE-TUNE.service index f70014a..a2ef74f 100644 --- a/services/tune/current/systemd/AGEBD-SERVICE-TUNE.service +++ b/services/tune/current/systemd/AGEBD-SERVICE-TUNE.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh TUNE Restart=no diff --git a/services/tunebump/current/systemd/AGEBD-SERVICE-TUNEBUMP.service b/services/tunebump/current/systemd/AGEBD-SERVICE-TUNEBUMP.service index 09eeef8..1c9313b 100644 --- a/services/tunebump/current/systemd/AGEBD-SERVICE-TUNEBUMP.service +++ b/services/tunebump/current/systemd/AGEBD-SERVICE-TUNEBUMP.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh TUNEBUMP Restart=no diff --git a/services/tunefbx/current/systemd/AGEBD-SERVICE-TUNEFBX.service b/services/tunefbx/current/systemd/AGEBD-SERVICE-TUNEFBX.service index 84b2c61..85688a0 100644 --- a/services/tunefbx/current/systemd/AGEBD-SERVICE-TUNEFBX.service +++ b/services/tunefbx/current/systemd/AGEBD-SERVICE-TUNEFBX.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh TUNEFBX Restart=no diff --git a/services/tunefby/current/systemd/AGEBD-SERVICE-TUNEFBY.service b/services/tunefby/current/systemd/AGEBD-SERVICE-TUNEFBY.service index 3cbbb68..c2f2d0e 100644 --- a/services/tunefby/current/systemd/AGEBD-SERVICE-TUNEFBY.service +++ b/services/tunefby/current/systemd/AGEBD-SERVICE-TUNEFBY.service @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ agebd_env }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{ agebd_env }}/bin/start_service.sh TUNEFBY Restart=no diff --git a/templates/service/{{service_name_lower}}/current/systemd/AGEBD-SERVICE-{{service_name_upper}}.service.jinja b/templates/service/{{service_name_lower}}/current/systemd/AGEBD-SERVICE-{{service_name_upper}}.service.jinja index 2be6c83..61b1e48 100644 --- a/templates/service/{{service_name_lower}}/current/systemd/AGEBD-SERVICE-{{service_name_upper}}.service.jinja +++ b/templates/service/{{service_name_lower}}/current/systemd/AGEBD-SERVICE-{{service_name_upper}}.service.jinja @@ -4,6 +4,7 @@ After=network.target [Service] Environment=AGEBD_ENV={{ '{{ agebd_env }}' }} +Environment=PYTHONUNBUFFERED=1 ExecStart=/sls/bd/hla/{{'{{ agebd_env }}'}}/bin/start_service.sh {{ service_name_upper }} Restart=no