Update Gentoo initd/confd files

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2024-01-14 00:36:41 +01:00
parent 47d2a3aa00
commit 4397e142db
2 changed files with 14 additions and 11 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
# /etc/conf.d/ebusd:
# config file for ebusd service.
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Options to pass to ebusd (run "ebusd -?" for more info):
# Options to pass to ebusd (run "ebusd --help" for more info)
EBUSD_OPTS="--scanconfig"
+11 -8
View File
@@ -1,14 +1,17 @@
#!/sbin/runscript
# Copyright 1999-2013 Gentoo Foundation
#!/sbin/openrc-run
# Copyright 1999-2024 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
command="/usr/bin/ebusd"
command_args="${EBUSD_OPTS}"
start_stop_daemon_args="--quiet"
description="ebusd, the daemon for communication with eBUS heating systems."
logfile_path="/var/log/ebusd"
logfile="${pidfile_path}/ebusd.log"
name="eBUS daemon"
pidfile_path="/run/ebusd"
pidfile="${pidfile_path}/ebusd.pid"
depend() {
need localmount
use logger
start_pre() {
checkpath -d -q "${logfile_path}"
checkpath -d -q "${pidfile_path}"
checkpath -f -q "${logfile}"
}