summaryrefslogtreecommitdiff
path: root/system_files/usr/lib/systemd
diff options
context:
space:
mode:
authorTranch <tranch.xiao@gmail.com>2026-07-22 17:26:46 +0800
committerGitHub <noreply@github.com>2026-07-22 17:26:46 +0800
commit551eb70e71b16ec78d1ccab5f92242623809f591 (patch)
tree8156006e752aa03a910281021ffb5f364927a8d6 /system_files/usr/lib/systemd
parentbf529f74e0a776518f73852a3a156361051772dc (diff)
parent54790d45fba14c63544355e4c78247e9e05d6c7d (diff)
downloadAeroCore-OS-551eb70e71b16ec78d1ccab5f92242623809f591.tar.gz
AeroCore-OS-551eb70e71b16ec78d1ccab5f92242623809f591.zip
Merge pull request #2 from AeroCore-IO/testing
Complete AeroCore OS metadata migration and live installer integration
Diffstat (limited to 'system_files/usr/lib/systemd')
-rw-r--r--system_files/usr/lib/systemd/system/aerocore-instruments-setup.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/system_files/usr/lib/systemd/system/aerocore-instruments-setup.service b/system_files/usr/lib/systemd/system/aerocore-instruments-setup.service
new file mode 100644
index 0000000..0c9cc45
--- /dev/null
+++ b/system_files/usr/lib/systemd/system/aerocore-instruments-setup.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=Configure AeroCore Booster for the graphical user
+Documentation=https://github.com/AeroCore-IO/instruments-ng
+After=systemd-user-sessions.service display-manager.service
+Wants=systemd-user-sessions.service
+ConditionPathExists=/usr/share/aerocore-booster-release/install.sh
+ConditionPathExists=!/var/lib/aerocore/instruments-bootstrap-complete
+
+[Service]
+Type=oneshot
+Environment=AEROCORE_INSTRUMENTS_SETUP_WAIT_SECONDS=180
+ExecStart=/usr/libexec/aerocore-instruments-setup
+Restart=on-failure
+RestartSec=15
+TimeoutStartSec=360
+
+[Install]
+WantedBy=multi-user.target