]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core204: Ship apache
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 10 Jun 2026 09:48:39 +0000 (09:48 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 10 Jun 2026 09:48:39 +0000 (09:48 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/204/filelists/apache2 [new symlink]
config/rootfiles/core/204/update.sh

diff --git a/config/rootfiles/core/204/filelists/apache2 b/config/rootfiles/core/204/filelists/apache2
new file mode 120000 (symlink)
index 0000000..eef95ef
--- /dev/null
@@ -0,0 +1 @@
+../../../common/apache2
\ No newline at end of file
index d13839e5ba5d9221592553e37ac90da8748b83a2..477237a0452424a209616a61037e0f1c64644910 100644 (file)
@@ -31,6 +31,9 @@ for (( i=1; i<=$core; i++ )); do
        rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
 done
 
+# Stop services
+/etc/init.d/apache stop
+
 # Remove files
 
 # Extract files
@@ -49,6 +52,7 @@ ldconfig
 /usr/local/bin/sshctrl
 
 # Start services
+/etc/init.d/apache start
 
 # This update needs a reboot...
 touch /var/run/need_reboot