create mango-session.target

This commit is contained in:
Ray Elliott 2026-03-04 19:58:39 +00:00
commit e7b71de3d8
14 changed files with 137 additions and 8 deletions

View file

@ -0,0 +1,23 @@
# gnome-keyring daemon for secrets + ssh components in TTY-launched mango
# sessions where PAM/autostart integration may not be present.
#
# Why this unit exists:
# - Ensures Secret Service (org.freedesktop.secrets) is available at login.
# - Avoids browser startup delays caused by secret-service timeouts.
#
# Notes:
# - This runs in foreground so systemd can supervise it directly.
# - SSH agent socket is created under %t/keyring/ssh.
[Unit]
Description=GNOME Keyring Daemon (Mango Session)
PartOf=mango-session.target
[Service]
Type=simple
ExecStart=/usr/bin/gnome-keyring-daemon --foreground --components=secrets,ssh
Restart=on-failure
RestartSec=2
[Install]
WantedBy=mango-session.target