Clightd: add runit service
This commit is contained in:
parent
a37f4b4325
commit
bb93b90459
3
srcpkgs/Clightd/files/Clightd/log/run
Normal file
3
srcpkgs/Clightd/files/Clightd/log/run
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exec /usr/bin/vlogger -t Clightd
|
4
srcpkgs/Clightd/files/Clightd/run
Normal file
4
srcpkgs/Clightd/files/Clightd/run
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
sv check dbus >/dev/null || exit 1
|
||||||
|
exec /usr/lib/clightd/clightd 2>&1
|
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'Clightd'
|
# Template file for 'Clightd'
|
||||||
pkgname=Clightd
|
pkgname=Clightd
|
||||||
version=4.0
|
version=4.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
cmake_builddir=build
|
cmake_builddir=build
|
||||||
configure_args="-DENABLE_DDC=1 -DENABLE_GAMMA=1 -DENABLE_DPMS=1 -DENABLE_SCREEN=1"
|
configure_args="-DENABLE_DDC=1 -DENABLE_GAMMA=1 -DENABLE_DPMS=1 -DENABLE_SCREEN=1"
|
||||||
@ -17,4 +17,5 @@ checksum=b3b2c83d4deb3ebc75ee965d6640009794eec61160a20772932643a9864fb7ba
|
|||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall Scripts/i2c_clightd.conf 644 /usr/lib/modules-load.d/
|
vinstall Scripts/i2c_clightd.conf 644 /usr/lib/modules-load.d/
|
||||||
|
vsv Clightd
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user