aboutsummaryrefslogtreecommitdiff
path: root/extra/openssh
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-03-30 14:05:27 +0300
committerCem Keylan <cem@ckyln.com>2020-03-30 14:05:27 +0300
commit6dbf04260e2a63e9b3f7241ca2e8a64113a28e3d (patch)
tree2456c818c0722894e88a5a4f24a3cc9000f502ae /extra/openssh
parenta936d2c266e21cabe0859318a9a2271fd1856975 (diff)
downloadrepository-6dbf04260e2a63e9b3f7241ca2e8a64113a28e3d.tar.gz
meta: install sysmgr services as well as runit services
Diffstat (limited to 'extra/openssh')
-rwxr-xr-xextra/openssh/build7
1 files changed, 5 insertions, 2 deletions
diff --git a/extra/openssh/build b/extra/openssh/build
index 8680ddb1..d50490c7 100755
--- a/extra/openssh/build
+++ b/extra/openssh/build
@@ -21,6 +21,9 @@ make DESTDIR="$1" install
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 runit services.
-install -Dm 755 sshd.run "$1/etc/sv/sshd/run"
+# Install runit service.
+install -Dm755 sshd.run "$1/etc/sv/sshd/run"
ln -s /run/runit/supervise.sshd "$1/etc/sv/sshd/supervise"
+
+# Install sysmgr service.
+install -Dm755 sshd.run "$1/etc/sysmgr/sshd"