From patchwork Wed Jul 21 14:41:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 4552 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) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4GVJFg22n7z3xHs 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) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4GVJFc287pz2Lh; Wed, 21 Jul 2021 14:42:12 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4GVJFb2W6fz300q; 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) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4GVJFZ3H4Rz2yqg 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 4GVJFZ28Drz1Ts; Wed, 21 Jul 2021 14:42:10 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1626878530; 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: in-reply-to:in-reply-to:references:references; bh=Pl5mcdf1wffYnsbmMlbpWs9Y3f3CSZe54ZAWjpMDQzI=; b=k95mLncQr38iTloql7Zbd0sV+nopyHi43uSbwM8xfW3NNOSgJv6ANTKWE6aYtJA6+Dy4iZ arRyg1DxmmMco3BQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1626878530; 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: in-reply-to:in-reply-to:references:references; bh=Pl5mcdf1wffYnsbmMlbpWs9Y3f3CSZe54ZAWjpMDQzI=; b=is65HeI8HoKJwGtN9CBAlzAhdwq2fE7Gmv6PXC1XryQP4QFR9F3TyrQw7IPXiYJVSMc5kH yPKEgHvUYEKVn6j7iIUin4F4GSJLDSAUCqfg06y0s3LwUlGcSzIlBPoavRJw7O36JLfJD1 sEYyyZgkfj71+dauWT4XjQQmVfO/A76zGpgMVCvocBgQKDrvfri9dnuZuFLsN/pgexPe5w XLUv0Ixx1EG8uyV36hdrCw4BGSMixAJjby7YnoqyEBFKeGVBfpEtPhK9Jt8UcqQEigM9nP 8cjaoVM6Dc7ZynkMO2T+/JPxVVyvul6oiBZO4uNUGwbbiLxjj/hLNCMHt39FHA== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 3/3] cups: Reload dbus to load/unload policy Date: Wed, 21 Jul 2021 14:41:58 +0000 Message-Id: <20210721144158.25747-3-michael.tremer@ipfire.org> In-Reply-To: <20210721144158.25747-1-michael.tremer@ipfire.org> References: <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 --- src/paks/cups/install.sh | 1 + src/paks/cups/uninstall.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/src/paks/cups/install.sh b/src/paks/cups/install.sh index 38715f9e8..b3f0f1368 100644 --- a/src/paks/cups/install.sh +++ b/src/paks/cups/install.sh @@ -23,6 +23,7 @@ # . /opt/pakfire/lib/functions.sh extract_files +/etc/init.d/messagebus reload start_service --delay 300 --background ${NAME} ln -svf ../init.d/cups /etc/rc.d/rc0.d/K00cups ln -svf ../init.d/cups /etc/rc.d/rc3.d/S25cups diff --git a/src/paks/cups/uninstall.sh b/src/paks/cups/uninstall.sh index 744c2062d..01b13de76 100644 --- a/src/paks/cups/uninstall.sh +++ b/src/paks/cups/uninstall.sh @@ -25,3 +25,4 @@ stop_service ${NAME} remove_files rm -rf /etc/rc.d/rc*.d/*cups +/etc/init.d/messagebus reload