systemd-friendly session helper