[Unit] Description=WEFT OS Wayland Compositor Documentation=https://github.com/weft-os/weft Before=graphical-session.target PartOf=graphical-session.target [Service] Type=notify ExecStart=/packages/system/weft-compositor/active/bin/weft-compositor Restart=on-failure RestartSec=1 # A user unit: the compositor publishes its socket as WAYLAND_DISPLAY in the # user manager before reporting readiness, for the services ordered # After=weft-compositor.service. It must not inherit that value, or an X11 # DISPLAY, on restart, or it would pick the nested backend. UnsetEnvironment=WAYLAND_DISPLAY DISPLAY [Install] WantedBy=weft-session.target