From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-December/020794.html | 100 +++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-December/020794.html (limited to 'zarb-ml/mageia-dev/2012-December/020794.html') diff --git a/zarb-ml/mageia-dev/2012-December/020794.html b/zarb-ml/mageia-dev/2012-December/020794.html new file mode 100644 index 000000000..85eb009bf --- /dev/null +++ b/zarb-ml/mageia-dev/2012-December/020794.html @@ -0,0 +1,100 @@ + + + + [Mageia-dev] systemctl closelog httpd.service not working + + + + + + + + + +

[Mageia-dev] systemctl closelog httpd.service not working

+ Colin Guthrie + mageia at colin.guthr.ie +
+ Fri Dec 14 10:43:35 CET 2012 +

+
+ +
'Twas brillig, and Richard Couture at 14/12/12 01:14 did gyre and gimble:
+> While teaching a class in admin of GNU & Linux I noted that logrotate
+> was using SysV notation to close the logs in order to rotate them
+> service httpd closelog
+> which works fine, but the equivilent command in systemd
+> systemctl closelog httpd.service
+> does NOT work
+
+This is not expected to work.
+
+sysvinit scripts allowed arbirary commands to be registered but systemd
+does not accept any random commands.
+
+"killall -HUP httpd" should do the same thing.
+
+Of course in my opinion the best solution is to hook up apache instead
+into the journal. I'd love to have a more structured logging for my web
+sites - having had to dig into logs recently for some analysis, the
+indexed and searchable logs available via journald would be far, far
+nicer :)
+
+Col
+
+-- 
+
+Colin Guthrie
+colin(at)mageia.org
+http://colin.guthr.ie/
+
+Day Job:
+  Tribalogic Limited http://www.tribalogic.net/
+Open Source:
+  Mageia Contributor http://www.mageia.org/
+  PulseAudio Hacker http://www.pulseaudio.org/
+  Trac Hacker http://trac.edgewall.org/
+
+ + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1