summaryrefslogtreecommitdiff
path: root/debian/systemd/ssh-session-cleanup.service
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-06-21 12:18:30 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-06-21 12:18:30 +0300
commit31684bbc19b57842dfb8285f69ab3d19f9d0f0b5 (patch)
tree9fdea5fc4fe6929b92492c6da7929b742ce260d8 /debian/systemd/ssh-session-cleanup.service
downloadopenssh-debian.tar.gz
Imported openssh 1:7.4p1-10debian/7.4p1-10debian
Diffstat (limited to 'debian/systemd/ssh-session-cleanup.service')
-rw-r--r--debian/systemd/ssh-session-cleanup.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/systemd/ssh-session-cleanup.service b/debian/systemd/ssh-session-cleanup.service
new file mode 100644
index 0000000..b867272
--- /dev/null
+++ b/debian/systemd/ssh-session-cleanup.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=OpenBSD Secure Shell session cleanup
+Wants=network.target
+After=network.target
+
+[Service]
+ExecStart=/bin/true
+ExecStop=/usr/lib/openssh/ssh-session-cleanup
+RemainAfterExit=yes
+Type=oneshot
+
+[Install]
+WantedBy=multi-user.target