Add boot-time secrets loading service to prevent service failures after reboot
All checks were successful
Systemd Sync / sync-systemd (push) Successful in 19s

- Add aitbc-load-secrets.service to load /run/aitbc/secrets/.env at boot
- Add aitbc-secrets.conf tmpfiles.d config to create secrets directory
- Update link-systemd.sh to deploy tmpfiles.d configurations
- Fixes issue where services fail with 'Failed to load environment files' after reboot
This commit is contained in:
aitbc
2026-04-29 10:09:49 +02:00
parent fb0ba94f96
commit db6154c1c5
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
# Create runtime directory for AITBC secrets at boot
# This directory is in tmpfs (/run) and gets cleared on reboot
# Deployed to /etc/tmpfiles.d/ by setup scripts
d /run/aitbc/secrets 0700 root root -