20 lines
392 B
Plaintext
20 lines
392 B
Plaintext
[main]
|
|
@type = classic
|
|
@description = "acpid daemon"
|
|
@user = ( root )
|
|
@options = ( log env )
|
|
|
|
[start]
|
|
@build = auto
|
|
@execute = ( execl-cmdline -s { acpid ${cmd_args} -c ${conf_dir} -s ${socket_dir}/${socket_name} } )
|
|
|
|
[stop]
|
|
@build = auto
|
|
@execute = ( s6-rmrf ${socket_dir}/${socket_name} )
|
|
|
|
[environment]
|
|
cmd_args=!-f -n
|
|
conf_dir=!/etc/acpi/events
|
|
socket_dir=!/run
|
|
socket_name=!acpid.socket
|