diff options
author | Colin Watson <cjwatson@debian.org> | 2017-07-23 13:14:50 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2017-07-23 13:14:50 +0100 |
commit | 4c771b9c7f2f9c5ddd0aefdbfb16441c2d7969a9 (patch) | |
tree | 913a842e2cac995c582cc6461ed436f49a67f1a9 /debian/systemd/ssh.service | |
parent | c8351e2c59bcc6fe6caafd6ba8908eee9a420f56 (diff) |
Create /run/sshd under systemd using RuntimeDirectory rather than tmpfiles.d (thanks, Dmitry Smirnov; closes: #864190).
Diffstat (limited to 'debian/systemd/ssh.service')
-rw-r--r-- | debian/systemd/ssh.service | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/systemd/ssh.service b/debian/systemd/ssh.service index c75e59057..6e9552948 100644 --- a/debian/systemd/ssh.service +++ b/debian/systemd/ssh.service | |||
@@ -13,6 +13,8 @@ KillMode=process | |||
13 | Restart=on-failure | 13 | Restart=on-failure |
14 | RestartPreventExitStatus=255 | 14 | RestartPreventExitStatus=255 |
15 | Type=notify | 15 | Type=notify |
16 | RuntimeDirectory=sshd | ||
17 | RuntimeDirectoryModes=0755 | ||
16 | 18 | ||
17 | [Install] | 19 | [Install] |
18 | WantedBy=multi-user.target | 20 | WantedBy=multi-user.target |