2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-04 14:05:50 -07:00

openssh: add runit services

This commit is contained in:
Muhammad Herdiansyah 2019-07-04 14:16:16 +07:00
parent f0bc64d0db
commit 6965ea16c6
4 changed files with 10 additions and 0 deletions

View File

@ -19,3 +19,7 @@ make DESTDIR="$1" install
install -m 755 contrib/ssh-copy-id "$1/usr/bin/ssh-copy-id" install -m 755 contrib/ssh-copy-id "$1/usr/bin/ssh-copy-id"
install -m 644 contrib/ssh-copy-id.1 "$1/usr/share/man/man8/ssh-copy-id.1" install -m 644 contrib/ssh-copy-id.1 "$1/usr/share/man/man8/ssh-copy-id.1"
# Install runit services.
install -Dm 755 sshd.run "$1/etc/sv/sshd/run"
ln -s /run/runit/supervise.sshd "$1/etc/sv/sshd/supervise"

View File

@ -1 +1,2 @@
bd943879e69498e8031eb6b7f44d08cdc37d59a7ab689aa0b437320c3481fd68 openssh-8.0p1.tar.gz bd943879e69498e8031eb6b7f44d08cdc37d59a7ab689aa0b437320c3481fd68 openssh-8.0p1.tar.gz
220dde8d4495bab6f08e063860c0ad54cc70ef8b7913a00e27126f1d5eb0af5f sshd.run

View File

@ -0,0 +1,4 @@
#!/bin/sh
ssh-keygen -A >/dev/null 2>&1 # Will generate host keys if they don't already exist
[ -r conf ] && . ./conf
exec /usr/bin/sshd -D $OPTS

View File

@ -1 +1,2 @@
https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.0p1.tar.gz https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.0p1.tar.gz
files/sshd.run