xssproxy: use DBus activation

This commit is contained in:
Vincent Bernat 2022-06-30 11:43:47 +02:00
parent a7313e338b
commit bb6c76f970

View file

@ -3,5 +3,7 @@ Description=Proxy between org.freedesktop.ScreenSaver and XSS
PartOf=graphical-session.target PartOf=graphical-session.target
[Service] [Service]
Type=dbus
BusName=org.freedesktop.ScreenSaver
ExecStart=%h/.nix-profile/bin/xssproxy -v ExecStart=%h/.nix-profile/bin/xssproxy -v
Restart=on-failure Restart=on-failure