If needrestart detects systemd it assumes that you use systemd's pam module.
This allows needrestart to easily detect user session. In case you use
systemd without pam_systemd.so you should set has_pam_systemd to false
to enable legacy session detection!
If needrestart detects systemd it assumes that you use systemd's pam module. This allows needrestart to easily detect user session. In case you use systemd without pam_systemd.so you should set has_pam_systemd to false to enable legacy session detection!
upstream commit: 6a29143e1c6439e1f851b172e468aeef17b261b2