1 2 3 4 5 6 7 8
[Unit] Description=Initiate afm-user-session %i Requires=systemd-user-sessions.service After=systemd-user-sessions.service [Service] User=%i PAMName=afm-user-session ExecStart=/bin/systemctl --wait start afm-user-session@%i.target