public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 1/3] dbus: Add reload to initscript
Date: Wed, 21 Jul 2021 14:41:56 +0000	[thread overview]
Message-ID: <20210721144158.25747-1-michael.tremer@ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]

Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
 lfs/dbus                            | 2 +-
 src/initscripts/packages/messagebus | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/lfs/dbus b/lfs/dbus
index 06431b4b5..09f4a541b 100644
--- a/lfs/dbus
+++ b/lfs/dbus
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = dbus
-PAK_VER    = 3
+PAK_VER    = 4
 
 DEPS       =
 
diff --git a/src/initscripts/packages/messagebus b/src/initscripts/packages/messagebus
index fc719c99a..3ea80bc92 100644
--- a/src/initscripts/packages/messagebus
+++ b/src/initscripts/packages/messagebus
@@ -32,7 +32,12 @@ case "$1" in
                 $0 start
                 ;;
 
-        status)
+	reload)
+		boot_mesg "Reloading the D-Bus Messagebus Daemon..."
+		reloadproc /usr/bin/dbus-daemon
+		;;
+
+	status)
                 statusproc -p $pidfile /usr/bin/dbus-daemon
                 ;;
 
-- 
2.20.1


             reply	other threads:[~2021-07-21 14:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-21 14:41 Michael Tremer [this message]
2021-07-21 14:41 ` [PATCH 2/3] avahi: Reload dbus to load/unload policy Michael Tremer
2021-07-21 14:41 ` [PATCH 3/3] cups: " Michael Tremer
2021-07-22 19:18   ` Adolf Belka
2021-07-28 11:09     ` Michael Tremer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210721144158.25747-1-michael.tremer@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox