1 2 3 4 5 6 7
[Unit] Description=Shutdown if nobody is logged in Documentation=man:shutdown-if-no-sessions.service(8) [Service] Type=oneshot ExecStart=@LIBEXECDIR@/shutdown-if-no-sessions