2 _units=(dirmngr.socket gpg-agent.socket gpg-agent-{browser,extra,ssh}.socket)
3 _dir=/etc/systemd/user/sockets.target.wants
8 for _u in "${_units[@]}"; do
9 ln -sf /usr/lib/systemd/user/$_u $_dir/$_u
13 for _u in "${_units[@]}"; do
16 rmdir -p --ignore-fail-on-non-empty $_dir
22 # See FS#42798 and FS#47371
23 dirmngr </dev/null &>/dev/null
25 # Let systemd supervise daemons by default