ShadowArch/EtcFiles/ssh-agent@.service

15 lines
231 B
SYSTEMD
Raw Normal View History

[Unit]
Description=SSH-Agent for User %I
After=network.target shadow.service
[Service]
ExecStart=ssh-agent -s
ExecReload=/bin/kill -HUP $MAINPID
Type=oneshot
KillMode=process
User=%I
Group=%I
[Install]
WantedBy=multi-user.target