Update firstboot-setup.service for new dependencies

This commit is contained in:
humocs-man
2026-03-14 15:08:19 +01:00
committed by GitHub
parent b6c102ee29
commit e929b6b755
@@ -1,15 +1,14 @@
[Unit] [Unit]
Description=Run First Boot Setup Wizard Description=First Boot Wizard
After=xdg-desktop-autostart.target After=graphical-session.target cosmic-session.target
Wants=xdg-desktop-autostart.target Wants=graphical-session.target cosmic-session.target
ConditionPathExists=%h/.config/cosmic-initial-setup.done
ConditionPathExists=%h/.config/firstboot/run ConditionPathExists=%h/.config/firstboot/run
[Service] [Service]
Type=simple Type=simple
ExecStart=%h/.config/firstboot/wait-and-run.sh ExecStart=%h/.config/firstboot/firstboot-setup.sh
PassEnvironment=DISPLAY WAYLAND_DISPLAY XDG_SESSION_TYPE
[Install] [Install]
WantedBy=xdg-desktop-autostart.target WantedBy=default.target