25 lines
662 B
Desktop File
25 lines
662 B
Desktop File
# Polkit authentication UI agent for non-DE Wayland sessions.
|
|
#
|
|
# Why this unit exists:
|
|
# - On WM/compositor-only sessions, no desktop environment may auto-start a
|
|
# polkit agent.
|
|
# - Without an agent, privilege prompts can fail to appear.
|
|
#
|
|
# Why it is tied to mango-session.target:
|
|
# - This agent is GUI session scoped and should only exist while the compositor
|
|
# session is active.
|
|
[Unit]
|
|
Description=Polkit GNOME Authentication Agent
|
|
PartOf=mango-session.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Environment=NO_AT_BRIDGE=1
|
|
ExecStart=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
|
Restart=on-failure
|
|
RestartSec=2
|
|
|
|
[Install]
|
|
WantedBy=mango-session.target
|
|
|