summaryrefslogtreecommitdiff
path: root/.config/systemd/user/screen.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/screen.service')
-rw-r--r--.config/systemd/user/screen.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/systemd/user/screen.service b/.config/systemd/user/screen.service
new file mode 100644
index 0000000..639360e
--- /dev/null
+++ b/.config/systemd/user/screen.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Terminal multiplexer
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/screen -dmS session
+ExecStop=/usr/bin/screen -S session -X quit
+
+[Install]
+WantedBy=multiplexer.target