15 lines
535 B
Desktop File
15 lines
535 B
Desktop File
[Unit]
|
|
Description=Bee: runtime preflight self-check
|
|
After=bee-network.service bee-nvidia.service
|
|
Before=bee-audit.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/bin/sh -c '/usr/local/bin/bee preflight --output file:/appdata/bee/export/runtime-health.json; rc=$?; if [ "$rc" -ne 0 ]; then echo "[bee-preflight] WARN: preflight exited with rc=$rc"; fi; exit 0'
|
|
StandardOutput=append:/appdata/bee/export/runtime-health.log
|
|
StandardError=append:/appdata/bee/export/runtime-health.log
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|