[Unit] Description=Desktop session: GNOME, Weston or IceWM # What /etc/inittab's ::once line does under busybox init. brintos-session-start # picks the session, falls back to the next one when it does not come up, and # leaves it running; brintos-session lists, switches and stops it. After=dbus.socket systemd-logind.service systemd-user-sessions.service brintos-network.service Wants=dbus.socket ConditionPathExists=/usr/sbin/brintos-session-start [Service] Type=oneshot # The session outlives the start script, in this unit's cgroup. RemainAfterExit=yes Environment=HOME=/ WorkingDirectory=/ ExecStart=/usr/sbin/brintos-session-start # GNOME's first start fetches and compiles its files; brintos-gnome-session has # its own limit (GNOME_TIMEOUT). TimeoutStartSec=infinity StandardOutput=journal+console StandardError=journal+console [Install] WantedBy=graphical.target