Correction : vm_hosted : etc/init.d/tmpfs -> etc/sv/*/run .
[lhc/ateliers.git] / etc / sv / sshd / run
index 477eebe..6a287a0 100755 (executable)
@@ -1,4 +1,8 @@
 #!/bin/sh -eux
 exec 2>&1
 sv=${PWD#/etc/sv/}
+install -d -m 755 -o root -g root /run/sshd
+install -d -m 1777 -o root -g root \
+ /run/shm/cache \
+ /run/shm/tmp
 exec /usr/sbin/sshd -D