summaryrefslogtreecommitdiff
path: root/shutdown-if-no-sessions.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'shutdown-if-no-sessions.service.in')
-rw-r--r--shutdown-if-no-sessions.service.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/shutdown-if-no-sessions.service.in b/shutdown-if-no-sessions.service.in
new file mode 100644
index 0000000..f8d6748
--- /dev/null
+++ b/shutdown-if-no-sessions.service.in
@@ -0,0 +1,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