Update firstboot-setup.service for graphical session
This commit is contained in:
@@ -1,11 +1,14 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Run First Boot Setup Wizard
|
Description=Run First Boot Setup Wizard
|
||||||
ConditionPathExists=%h/.config/firstboot/run
|
After=graphical-session.target
|
||||||
|
Wants=graphical-session.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=%h/.config/firstboot/firstboot-setup.sh
|
Type=simple
|
||||||
|
ExecStart=%h/.config/firstboot-setup.sh
|
||||||
Type=oneshot
|
Environment=WAYLAND_DISPLAY=wayland-0
|
||||||
|
Environment=DISPLAY=:0
|
||||||
|
Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/bus
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|||||||
Reference in New Issue
Block a user