aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rwxr-xr-xextra/acpid/build4
-rwxr-xr-xextra/openssh/build7
-rwxr-xr-xextra/scron/build4
3 files changed, 13 insertions, 2 deletions
diff --git a/extra/acpid/build b/extra/acpid/build
index d495e64d..2e9a3bd4 100755
--- a/extra/acpid/build
+++ b/extra/acpid/build
@@ -6,5 +6,9 @@ make
make DESTDIR="$1" install
mkdir -p "$1/etc/acpi/events"
+# Install runit service.
install -Dm755 run "$1/etc/sv/acpid/run"
ln -s /run/runit/supervise.acpid "$1/etc/sv/acpid/supervise"
+
+# Install sysmgr service.
+install -Dm755 run "$1/etc/sysmgr/acpid"
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"
diff --git a/extra/scron/build b/extra/scron/build
index 6564e5d3..fd90a6f7 100755
--- a/extra/scron/build
+++ b/extra/scron/build
@@ -6,3 +6,7 @@ make PREFIX="$1/usr" MANPREFIX="$1/usr/share/man" install
# Install runit service
install -Dm755 scron.run "$1/etc/sv/scron/run"
+ln -sv /run/runit/supervise.scron "$1/etc/sv/scron/supervise"
+
+# Install sysmgr service
+install -Dm755 scron.run "$1/etc/sysmgr/scron"