[Unit]
Description=Souveraine session authority (lock-before-shell, lock-past-shell-death)
# graphical-session-pre, not graphical-session: the authority takes
# ext-session-lock before any surface exists, and -pre is the window systemd
# already reserves for that. It cannot start earlier — ext-session-lock is a
# Wayland protocol and needs the compositor's socket.
PartOf=graphical-session-pre.target

[Service]
ExecStart=/usr/bin/souveraine-sessiond
Restart=on-failure
RestartSec=1

[Install]
WantedBy=graphical-session-pre.target
