From b2fec086b9f498102537e0ff936138b2960e4082 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 25 Apr 2014 23:20:32 +0200 Subject: Initial import of runit init scripts based on ignite. I did not use ignite because it needs bash, and I don't really want it. --- foo/etc/sv/sshd/run | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 foo/etc/sv/sshd/run (limited to 'foo/etc/sv/sshd/run') diff --git a/foo/etc/sv/sshd/run b/foo/etc/sv/sshd/run new file mode 100755 index 0000000..06f36ea --- /dev/null +++ b/foo/etc/sv/sshd/run @@ -0,0 +1,5 @@ +#!/bin/sh + +echo "Starting sshd..." +/usr/bin/ssh-keygen -A # Will generate host keys if they don't already exist +exec /usr/sbin/sshd -D -- cgit 1.4.1