Files
aitbc/systemd/aitbc-load-secrets.service
aitbc db6154c1c5
All checks were successful
Systemd Sync / sync-systemd (push) Successful in 19s
Add boot-time secrets loading service to prevent service failures after reboot
- 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
2026-04-29 10:09:49 +02:00

13 lines
328 B
Desktop File

[Unit]
Description=Load AITBC secrets at boot
Before=aitbc-blockchain-rpc.service aitbc-coordinator-api.service aitbc-wallet.service aitbc-agent-coordinator.service
After=network.target
[Service]
Type=oneshot
ExecStart=/opt/aitbc/scripts/utils/load-keystore-secrets.sh
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target