Update firstboot-setup.service for new dependencies
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user