1 2 3 4 5 6 7 8 9
[Unit] Description=Exit DefaultDependencies=no Requires=shutdown.target After=shutdown.target [Service] Type=finish ExecStart=@SYSTEMCTL@ --session daemon-exit