gentoo-ebuilds/app-misc/ebusd/files/ebusd.initd-r1
Ulrich Müller 31639e8500
*/*: Fix copyright and license notices
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2025-06-09 12:30:14 +02:00

20 lines
549 B
Text

#!/sbin/openrc-run
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
command="/usr/bin/ebusd"
command_args="${EBUSD_OPTS}"
ebusd_path="/var/lib/ebusd"
html_path="${ebusd_path}/html"
logfile_path="/var/log/ebusd"
logfile="${logfile_path}/ebusd.log"
name="eBUS daemon"
pidfile_path="/run/ebusd"
pidfile="${pidfile_path}/ebusd.pid"
start_pre() {
checkpath -d -q "${ebusd_path}" "${html_path}"
checkpath -d -q "${logfile_path}"
checkpath -d -q "${pidfile_path}"
checkpath -f -q "${logfile}"
}