stunnel: Fix logrotate restart

Alexander Dahl <[email protected]>
Newsgroups spline.eisfair.dev
Organization spline
Message-ID <[email protected]>
Moin,

wie in einem anderen Thread letztens vorgeschlagen, hatte ich in der
Datei /etc/logrotate.d/stunnel folgende Änderung gemacht:

--- stunnel.bac 2023-11-13 08:14:03.622627505 +0100
+++ stunnel     2023-11-13 08:14:13.262759423 +0100
@@ -12,7 +12,7 @@
     missingok
     notifempty
     postrotate
-        /etc/init.d/stunnel --quiet restart
+        /usr/sbin/service --quiet restart stunnel
     endscript
     }
 
Vorher hatte ich das Problem, dass stunnel nach dem logrotate nicht mehr
lief.  Jetzt tut er das wieder zuverlässig.  Die Änderung kann dann wohl
so übernommen werden.

Grüße
Alex

-- 
***** http://blog.antiblau.de/ *****************************
GnuPG-FP: C28E E6B9 0263 95CF 8FAF  08FA 34AD CD00 7221 5CC6
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.