From ca4c1552abb6ba77449e53e0a580a5e455c753e8 Mon Sep 17 00:00:00 2001 From: fy59 Date: Thu, 8 Oct 2026 22:30:38 +0200 Subject: [PATCH] chore(services): track Investigation and Trainlog integrations --- bin/.local/bin/labfy-investigation-web | 1 + .../user/labfy-investigation-web.service | 22 +++++++++++++++++++ .../program-recalage.conf | 3 +++ .../program-recalage.conf | 3 +++ 4 files changed, 29 insertions(+) create mode 120000 bin/.local/bin/labfy-investigation-web create mode 100644 systemd/.config/systemd/user/labfy-investigation-web.service create mode 100644 systemd/.config/systemd/user/trainlog-btd.service.d/program-recalage.conf create mode 100644 systemd/.config/systemd/user/trainlog-syncd.service.d/program-recalage.conf diff --git a/bin/.local/bin/labfy-investigation-web b/bin/.local/bin/labfy-investigation-web new file mode 120000 index 000000000..ec64abea0 --- /dev/null +++ b/bin/.local/bin/labfy-investigation-web @@ -0,0 +1 @@ +/home/fy59/Documents/Development/labfy-investigation/scripts/labfy-investigation-web \ No newline at end of file diff --git a/systemd/.config/systemd/user/labfy-investigation-web.service b/systemd/.config/systemd/user/labfy-investigation-web.service new file mode 100644 index 000000000..407caa933 --- /dev/null +++ b/systemd/.config/systemd/user/labfy-investigation-web.service @@ -0,0 +1,22 @@ +[Unit] +Description=Labfy Investigation Web local service +After=default.target + +[Service] +Type=simple +EnvironmentFile=%h/.config/labfy-investigation/web.env +ExecStart=%h/.local/bin/labfy-investigation-web +Restart=on-failure +RestartSec=10 +NoNewPrivileges=true +PrivateTmp=true +ProtectSystem=strict +ProtectControlGroups=true +ProtectKernelModules=true +ProtectKernelTunables=true +RestrictSUIDSGID=true +LockPersonality=true +SystemCallArchitectures=native + +[Install] +WantedBy=default.target diff --git a/systemd/.config/systemd/user/trainlog-btd.service.d/program-recalage.conf b/systemd/.config/systemd/user/trainlog-btd.service.d/program-recalage.conf new file mode 100644 index 000000000..9f338c440 --- /dev/null +++ b/systemd/.config/systemd/user/trainlog-btd.service.d/program-recalage.conf @@ -0,0 +1,3 @@ +[Service] +ExecStart= +ExecStart=/home/fy59/.local/share/trainlog/rollouts/program-recalage-v1-3a4ec34/desktop/bin/trainlog-btd --config /home/fy59/.config/trainlog/sync-generation-config-v1.json diff --git a/systemd/.config/systemd/user/trainlog-syncd.service.d/program-recalage.conf b/systemd/.config/systemd/user/trainlog-syncd.service.d/program-recalage.conf new file mode 100644 index 000000000..85ab0b861 --- /dev/null +++ b/systemd/.config/systemd/user/trainlog-syncd.service.d/program-recalage.conf @@ -0,0 +1,3 @@ +[Service] +ExecStart= +ExecStart=/home/fy59/.local/share/trainlog/rollouts/program-recalage-v1-3a4ec34/desktop/bin/trainlog-syncd --interval 3