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