aports/community/fwupd/fwupd.initd
Jakub Jirutka c36d681db1 community/fwupd: improve init script, don't force supervise-daemon
Allow users to disable supervise-daemon or use another supervisor
via conf.d file.
2024-03-03 10:39:45 +00:00

15 lines
315 B
Bash

#!/sbin/openrc-run
: ${error_logger="logger -t $RC_SVCNAME -p daemon.info >/dev/null 2>&1"}
description="Firmware update daemon"
command="/usr/libexec/fwupd/fwupd"
command_args="--no-timestamp --no-domain $command_args"
command_background="yes"
pidfile="/run/$RC_SVCNAME.pid"
depend() {
need dbus
before xdm
}