summaryrefslogtreecommitdiffstats
path: root/projectroot/usr/lib/systemd/system/sshd@.service
diff options
context:
space:
mode:
Diffstat (limited to 'projectroot/usr/lib/systemd/system/sshd@.service')
-rw-r--r--projectroot/usr/lib/systemd/system/sshd@.service5
1 files changed, 4 insertions, 1 deletions
diff --git a/projectroot/usr/lib/systemd/system/sshd@.service b/projectroot/usr/lib/systemd/system/sshd@.service
index a96f28680..3814e9f7b 100644
--- a/projectroot/usr/lib/systemd/system/sshd@.service
+++ b/projectroot/usr/lib/systemd/system/sshd@.service
@@ -1,8 +1,11 @@
[Unit]
Description=SSH Per-Connection Server
-After=syslog.target
+DefaultDependencies=no
[Service]
ExecStart=/usr/sbin/sshd -i
SuccessExitStatus=0 255
StandardInput=socket
+RuntimeDirectory=sshd
+RuntimeDirectoryPreserve=yes
+RuntimeDirectoryMode=0700