From 739c65c54cb0e957df5e9b76f93fb02554e5cac3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:52:30 +0100 Subject: moved everything to new file formatting --- extra/dbus/dbus.confd | 7 ------- extra/dbus/dbus.initd | 33 --------------------------------- extra/dbus/dbus.trigger | 4 ---- 3 files changed, 44 deletions(-) delete mode 100644 extra/dbus/dbus.confd delete mode 100644 extra/dbus/dbus.initd delete mode 100644 extra/dbus/dbus.trigger (limited to 'extra/dbus') diff --git a/extra/dbus/dbus.confd b/extra/dbus/dbus.confd deleted file mode 100644 index 0454047..0000000 --- a/extra/dbus/dbus.confd +++ /dev/null @@ -1,7 +0,0 @@ -# Configuration for /etc/init.d/dbus - -# Additional arguments to pass to dbus-daemon. -#command_args= - -# Uncomment to use process supervisor. -#supervisor=supervise-daemon diff --git a/extra/dbus/dbus.initd b/extra/dbus/dbus.initd deleted file mode 100644 index f3f44da..0000000 --- a/extra/dbus/dbus.initd +++ /dev/null @@ -1,33 +0,0 @@ -#!/sbin/openrc-run -name="System Message Bus" -description="D-Bus System Message Bus" - -extra_started_commands="reload" - -command="/usr/bin/dbus-daemon" -command_args="--system --nofork --nopidfile --syslog-only ${command_args:-}" -command_background="yes" -pidfile="/run/$RC_SVCNAME.pid" - -depend() { - need localmount - after bootmisc -} - -start_pre() { - checkpath -d -m755 -o root:messagebus /run/dbus || return 1 - - /usr/bin/dbus-uuidgen --ensure=/etc/machine-id -} - -stop_post() { - [ ! -S /run/dbus/system_bus_socket ] || rm -f /run/dbus/system_bus_socket -} - -reload() { - ebegin "Reloading $name configuration" - /usr/bin/dbus-send --print-reply --system --type=method_call \ - --dest=org.freedesktop.DBus \ - / org.freedesktop.DBus.ReloadConfig > /dev/null - eend $? -} diff --git a/extra/dbus/dbus.trigger b/extra/dbus/dbus.trigger deleted file mode 100644 index a537bd8..0000000 --- a/extra/dbus/dbus.trigger +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -dbus-send --system --type=method_call --dest=org.freedesktop.DBus / \ - org.freedesktop.DBUS.ReloadConfig >/dev/null 2>&1 || : -- cgit v1.2.1