From patchwork Wed Jul 21 14:41:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 4551 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4GVJFg1skkz3xHT for ; Wed, 21 Jul 2021 14:42:15 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4GVJFb6yLZz1wg; Wed, 21 Jul 2021 14:42:11 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4GVJFb1Bl0z2yyH; Wed, 21 Jul 2021 14:42:11 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4GVJFZ2bmfz2yj1 for ; Wed, 21 Jul 2021 14:42:10 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4GVJFY4pcMzZ6; Wed, 21 Jul 2021 14:42:09 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1626878529; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=4zThifPz9JT2BZg4BN0Gp7UZBcobt6vKbz0k+J2pfiI=; b=HBoQVVfv3XrJA9PMdxK+tBj1j8oLQ3YwuxMooq7hO5wnQUv/idQHQkq0usvNK3EwI6Wnze 8bGtnolZFEpU1KBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1626878529; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=4zThifPz9JT2BZg4BN0Gp7UZBcobt6vKbz0k+J2pfiI=; b=DRDu25Gfj2PFIZX2svMbYoiNQ+L138dg33UkjQssQPmDr9+vIKpl9aLfZVbQvp+pKNFkrU YDDUZJoUB5iupZ5ys9Lmr1KN3jfSPVq5WClIU56iSDKP/DR1sOrfTKB9Gs/dXfprkbutYW qE5MBP2qutNWFQxB1XPN5xlhk+Hor9JIV7Et2fajLypI0Q0HjTvksxsVUAthoRZNQ1fCqw 1D2hgQosNqabI55rc24WQqx2mnGIX8Hfx4iV8wqbgQtzRGsuSKxuDir7e1pRTddj5Cn7Rj dAZFZ1wdli8cpibHnSMbsx2WRDHF2uIxViLpeM/YVOEiM3BlcL+R5VW0k4g52A== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 1/3] dbus: Add reload to initscript Date: Wed, 21 Jul 2021 14:41:56 +0000 Message-Id: <20210721144158.25747-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- 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 ;;