]> git.hoellein.online Git - homeserver/commitdiff
committing changes in /etc after apt run
authormhoellein <mhoellein@freenet.de>
Wed, 9 Jun 2021 21:03:22 +0000 (23:03 +0200)
committermhoellein <mhoellein@freenet.de>
Wed, 9 Jun 2021 21:03:22 +0000 (23:03 +0200)
Package changes:
-apache2 2.4.46-4+deb.sury.org+1+ubuntu18.04.1+deb.sury.org+5 amd64
-apache2-bin 2.4.46-4+deb.sury.org+1+ubuntu18.04.1+deb.sury.org+5 amd64
-apache2-data 2.4.46-4+deb.sury.org+1+ubuntu18.04.1+deb.sury.org+5 all
-apache2-utils 2.4.46-4+deb.sury.org+1+ubuntu18.04.1+deb.sury.org+5 amd64
+apache2 2.4.48-1+ubuntu18.04.1+deb.sury.org+1 amd64
+apache2-bin 2.4.48-1+ubuntu18.04.1+deb.sury.org+1 amd64
+apache2-data 2.4.48-1+ubuntu18.04.1+deb.sury.org+1 all
+apache2-utils 2.4.48-1+ubuntu18.04.1+deb.sury.org+1 amd64
-python-pip 9.0.1-2.3~ubuntu1.18.04.4 all
-python-pip-whl 9.0.1-2.3~ubuntu1.18.04.4 all
+python-pip 9.0.1-2.3~ubuntu1.18.04.5 all
+python-pip-whl 9.0.1-2.3~ubuntu1.18.04.5 all
-rpcbind 0.2.3-0.6ubuntu0.18.04.1 amd64
+rpcbind 0.2.3-0.6ubuntu0.18.04.2 amd64
-update-notifier-common 3.192.1.10 all
+update-notifier-common 3.192.1.11 all

logrotate.d/apache2

index 37c5f22e43ac7423f5448639ae1d35fbee996fd6..9d2356dad22d6d6aef85a534b577f6cafa77cc28 100644 (file)
@@ -1,20 +1,20 @@
 /var/log/apache2/*.log {
-       daily
-       missingok
-       rotate 14
-       compress
-       delaycompress
-       notifempty
-       create 640 root adm
-       sharedscripts
-       postrotate
-                if invoke-rc.d apache2 status > /dev/null 2>&1; then \
-                    invoke-rc.d apache2 reload > /dev/null 2>&1; \
-                fi;
-       endscript
-       prerotate
-               if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
-                       run-parts /etc/logrotate.d/httpd-prerotate; \
-               fi; \
-       endscript
+    daily
+    missingok
+    rotate 14
+    compress
+    delaycompress
+    notifempty
+    create 640 root adm
+    sharedscripts
+    prerotate
+       if [ -d /etc/logrotate.d/httpd-prerotate ]; then
+           run-parts /etc/logrotate.d/httpd-prerotate
+       fi
+    endscript
+    postrotate
+       if pgrep -f ^/usr/sbin/apache2 > /dev/null; then
+           invoke-rc.d apache2 reload
+       fi
+    endscript
 }