From 6c84c099c3d855e7513e66b05f9b2359d4a6e29e Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Sun, 8 Apr 2018 16:33:13 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- config-archive/etc/logrotate.d/apache2.dist.new | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config-archive/etc/logrotate.d/apache2.dist.new b/config-archive/etc/logrotate.d/apache2.dist.new index 00a127c1..9dd431c2 100644 --- a/config-archive/etc/logrotate.d/apache2.dist.new +++ b/config-archive/etc/logrotate.d/apache2.dist.new @@ -6,7 +6,6 @@ notifempty sharedscripts postrotate - test -e /run/openrc/softlevel && /etc/init.d/apache2 reload > /dev/null 2>&1 || true - test -e /run/systemd/system && systemctl reload apache2 > /dev/null 2>&1 || true + /etc/init.d/apache2 reload > /dev/null 2>&1 || true endscript } -- 2.39.5