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 3/3] cups: Reload dbus to load/unload policy
Date: Wed, 21 Jul 2021 14:41:58 +0000	[thread overview]
Message-ID: <20210721144158.25747-3-michael.tremer@ipfire.org> (raw)
In-Reply-To: <20210721144158.25747-1-michael.tremer@ipfire.org>

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

Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
 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
-- 
2.20.1


  parent 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 [PATCH 1/3] dbus: Add reload to initscript Michael Tremer
2021-07-21 14:41 ` [PATCH 2/3] avahi: Reload dbus to load/unload policy Michael Tremer
2021-07-21 14:41 ` Michael Tremer [this message]
2021-07-22 19:18   ` [PATCH 3/3] cups: " 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-3-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