create mango-session.target
This commit is contained in:
parent
207dac004e
commit
e7b71de3d8
14 changed files with 137 additions and 8 deletions
24
user/polkit-gnome-agent.service
Normal file
24
user/polkit-gnome-agent.service
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue