aboutsummaryrefslogtreecommitdiff
path: root/extra/acpid/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-24 00:26:56 +0300
committerCem Keylan <cem@ckyln.com>2021-07-24 00:27:22 +0300
commit2238836da78e1d5668cc5dd57aa3d7a7a04f18c5 (patch)
tree191d85bdfc3c102a56fee04dadc9e6074b562a0d /extra/acpid/build
parentcbfb33db736f0f09f0e79c27cea337fbc758e4fa (diff)
downloadrepository-2238836da78e1d5668cc5dd57aa3d7a7a04f18c5.tar.gz
acpid: use clsv
Diffstat (limited to 'extra/acpid/build')
-rwxr-xr-xextra/acpid/build12
1 files changed, 5 insertions, 7 deletions
diff --git a/extra/acpid/build b/extra/acpid/build
index 2e9a3bd4..ab2779c5 100755
--- a/extra/acpid/build
+++ b/extra/acpid/build
@@ -1,14 +1,12 @@
#!/bin/sh -e
-./configure --prefix=/usr --sbindir=/usr/bin
+./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin
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"
+# Install services.
+clsv -d "$1" acpid.run