]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Core Updte 177: Ship and restart Squid
authorPeter Müller <peter.mueller@ipfire.org>
Sun, 9 Jul 2023 15:11:34 +0000 (15:11 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Sun, 9 Jul 2023 15:11:34 +0000 (15:11 +0000)
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
config/rootfiles/core/177/filelists/squid [new symlink]
config/rootfiles/core/177/update.sh

diff --git a/config/rootfiles/core/177/filelists/squid b/config/rootfiles/core/177/filelists/squid
new file mode 120000 (symlink)
index 0000000..2dc8372
--- /dev/null
@@ -0,0 +1 @@
+../../../common/squid
\ No newline at end of file
index df8992803492b9b9d89a720233c9b65859cbf5ee..ebe2b4fe5ff51621e15981686cf3cf4623f059ba 100644 (file)
@@ -45,6 +45,7 @@ for (( i=1; i<=$core; i++ )); do
 done
 
 # Stop services
+/etc/rc.d/init.d/squid stop
 
 KVER="xxxKVERxxx"
 
@@ -119,7 +120,7 @@ ldconfig
 # Start services
 /etc/init.d/ntp restart
 if [ -f /var/ipfire/proxy/enable ]; then
-       /etc/init.d/squid restart
+       /etc/init.d/squid start
 fi
 
 # Rebuild initial ramdisks