summaryrefslogtreecommitdiffstats
path: root/remote/modules/sshd
diff options
context:
space:
mode:
authorSimon Rettberg2013-08-20 20:03:34 +0200
committerSimon Rettberg2013-08-20 20:03:34 +0200
commit5ecba3429f3c5d75550137eb2c815ebb62dfdffb (patch)
tree2e461f6c4386b73063e9328fe72aaa086296bb47 /remote/modules/sshd
parent[dnbd3] add systemd service + script to load the module and launch the user s... (diff)
downloadtm-scripts-5ecba3429f3c5d75550137eb2c815ebb62dfdffb.tar.gz
tm-scripts-5ecba3429f3c5d75550137eb2c815ebb62dfdffb.tar.xz
tm-scripts-5ecba3429f3c5d75550137eb2c815ebb62dfdffb.zip
Switch to using /etc/tmpfiles.d for creating files/dirs in /run
Also added a sanity check after processing each module, which will abort if anything is placed in /run directly
Diffstat (limited to 'remote/modules/sshd')
-rw-r--r--remote/modules/sshd/data/etc/tmpfiles.d/sshd.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/remote/modules/sshd/data/etc/tmpfiles.d/sshd.conf b/remote/modules/sshd/data/etc/tmpfiles.d/sshd.conf
new file mode 100644
index 00000000..d4aa9a67
--- /dev/null
+++ b/remote/modules/sshd/data/etc/tmpfiles.d/sshd.conf
@@ -0,0 +1,2 @@
+D /var/run/sshd 0755 root root
+