diff options
Diffstat (limited to 'system_files/usr/lib')
| -rw-r--r-- | system_files/usr/lib/systemd/system/aerocore-instruments-setup.service | 18 |
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 |
