Enable linger for user in logind

Start a user manager for the user at boot to ensure ssh-agent.service
is running prior to pam_exec.so
This commit is contained in:
Jordan Holt 2021-06-15 20:41:20 +01:00
parent 62678484f5
commit d016d4eeab
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520

View File

@ -89,6 +89,7 @@ install() {
} }
configure() { configure() {
loginctl enable-linger $UID
systemctl --user enable ssh-agent systemctl --user enable ssh-agent
} }