19 lines
512 B
Desktop File
Executable File
19 lines
512 B
Desktop File
Executable File
[Unit]
|
|
Description=Load Bitwarden SSH keys into ssh-agent
|
|
# Use ssh-agent.service (OpenSSH) instead of GCR/gnome-keyring SSH agent
|
|
# to avoid conflicts — keys are loaded into the socket the terminal sees.
|
|
After=ssh-agent.service
|
|
Wants=ssh-agent.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
Environment=PATH=%h/.local/bin:/usr/local/bin:/usr/bin:/bin
|
|
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
|
|
ExecStart=%h/.local/bin/bw-load-ssh.sh
|
|
RemainAfterExit=yes
|
|
Restart=on-failure
|
|
RestartSec=30
|
|
|
|
[Install]
|
|
WantedBy=default.target
|