]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
cups: Remove 5 minutes delay in start_service line in install.sh paks file
authorAdolf Belka <adolf.belka@ipfire.org>
Tue, 4 Jul 2023 19:17:33 +0000 (21:17 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Sun, 9 Jul 2023 15:07:36 +0000 (15:07 +0000)
- When cups is installed (including when doing a Core Update that includes a cups update)
   the 5 min delay for starting cups means that it has not restarted by the time that the
   reboot for the CU has been started. There are then error messages that say that cups
   couldn't be stopped as it was not running.
- When a normal reboot is carried out withoutr any update of cups then the startup has
   no delay and it starts without any trouble.
- This patch removes the 300 secs delay from the start_service line in the install.sh paks
   file.
- The PAK_VER is bumped to ensure that this change is shipped

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
lfs/cups
src/paks/cups/install.sh

index 70839736f2edc4b7f1e787925c57ba9de8dba71b..cae829432ebe7aa1db687bef3d9b80b8876ea284 100644 (file)
--- a/lfs/cups
+++ b/lfs/cups
@@ -33,7 +33,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/cups-$(VER)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = cups
-PAK_VER    = 36
+PAK_VER    = 37
 
 DEPS       = avahi cups-filters dbus ghostscript libexif
 
index cc586697197b00188a2239295f2b2afcfe984e7f..f1d45b69716da16299198f14e4939d4f9f617885 100644 (file)
@@ -25,7 +25,7 @@
 extract_files
 restore_backup "${NAME}"
 /etc/init.d/messagebus reload
-start_service --delay 300 --background ${NAME}
+start_service --background ${NAME}
 ln -svf ../init.d/cups /etc/rc.d/rc0.d/K00cups
 ln -svf ../init.d/cups /etc/rc.d/rc3.d/S25cups
 ln -svf ../init.d/cups /etc/rc.d/rc6.d/K00cups