mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-03 20:18:10 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			440 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			440 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
#
 | 
						|
# {{@@ header() @@}}
 | 
						|
#
 | 
						|
 | 
						|
[Unit]
 | 
						|
Description=SSH key agent
 | 
						|
Wants=environment.target
 | 
						|
Before=environment.target
 | 
						|
IgnoreOnIsolate=true
 | 
						|
 | 
						|
[Service]
 | 
						|
Type=forking
 | 
						|
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
 | 
						|
ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK
 | 
						|
ExecStartPost=/usr/bin/systemctl --user set-environment SSH_AUTH_SOCK=${SSH_AUTH_SOCK}
 | 
						|
#ExecStop=/usr/bin/ssh-agent -k
 | 
						|
ExecStopPost=/bin/rm ${SSH_AUTH_SOCK}
 | 
						|
 | 
						|
[Install]
 | 
						|
WantedBy=default.target
 |