2023-06-06 12:18:49 +02:00
|
|
|
[Unit]
|
|
|
|
Description=SSH key agent
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
Restart=on-failure
|
|
|
|
Environment=DISPLAY=:0
|
|
|
|
Environment=WAYLAND_DISPLAY=wayland-0
|
2023-06-06 16:29:42 +02:00
|
|
|
Environment=QT_QPA_PLATFORM=wayland
|
2023-06-06 12:18:49 +02:00
|
|
|
Environment=SSH_ASKPASS=/usr/bin/ksshaskpass
|
|
|
|
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
|
|
|
|
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|