mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
20 lines
361 B
Plaintext
20 lines
361 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
description="Daemon for Advanced Configuration and Power Interface"
|
|
|
|
extra_started_commands="reload"
|
|
command="/usr/sbin/acpid"
|
|
command_args="$ACPID_ARGS"
|
|
start_stop_daemon_args="--quiet"
|
|
|
|
depend() {
|
|
need localmount
|
|
use logger
|
|
}
|
|
|
|
reload() {
|
|
ebegin "Reloading acpid configuration"
|
|
start-stop-daemon --exec $command --signal HUP
|
|
eend $?
|
|
}
|