hwoarang    15/02/21 21:11:57

  Modified:             lighttpd.service lighttpd.logrotate-r1
  Log:
  Fix logrotate script for systemd. Thanks to Karsten Kretschmer
  
  (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 
0x09BF4F54C2BA7F3C!)

Revision  Changes    Path
1.3                  www-servers/lighttpd/files/lighttpd.service

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/files/lighttpd.service?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/files/lighttpd.service?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/files/lighttpd.service?r1=1.2&r2=1.3

Index: lighttpd.service
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.service,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- lighttpd.service    2 May 2014 10:57:57 -0000       1.2
+++ lighttpd.service    21 Feb 2015 21:11:57 -0000      1.3
@@ -4,6 +4,7 @@
 
 [Service]
 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
+ExecReload=/bin/kill -HUP $MAINPID
 
 [Install]
 WantedBy=multi-user.target



1.2                  www-servers/lighttpd/files/lighttpd.logrotate-r1

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/files/lighttpd.logrotate-r1?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/files/lighttpd.logrotate-r1?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/files/lighttpd.logrotate-r1?r1=1.1&r2=1.2

Index: lighttpd.logrotate-r1
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.logrotate-r1,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- lighttpd.logrotate-r1       2 May 2014 10:57:57 -0000       1.1
+++ lighttpd.logrotate-r1       21 Feb 2015 21:11:57 -0000      1.2
@@ -1,4 +1,4 @@
-# $Header: 
/var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.logrotate-r1,v 1.1 
2014/05/02 10:57:57 pacho Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.logrotate-r1,v 1.2 
2015/02/21 21:11:57 hwoarang Exp $
 # lighttpd logrotate script for Gentoo
 
 /var/log/lighttpd/*.log {
@@ -11,6 +11,6 @@
         sharedscripts
         postrotate
                test -e /run/openrc/softlevel && /etc/init.d/lighttpd reload 
1>/dev/null || true
-               test -e /run/systemd/system && systemctl restart lighttpd 
reload 1>/dev/null || true
+               test -e /run/systemd/system && systemctl reload 
lighttpd.service || true
         endscript
 }




Reply via email to