Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 396316 Details for
Bug 508526
www-servers/lighttpd - provide logrotate.d entry that works with systemd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix reload after log rotation under systemd
lighttpd-systemd-reload.patch (text/plain), 975 bytes, created by
Karsten Kretschmer
on 2015-02-13 08:07:11 UTC
(
hide
)
Description:
fix reload after log rotation under systemd
Filename:
MIME Type:
Creator:
Karsten Kretschmer
Created:
2015-02-13 08:07:11 UTC
Size:
975 bytes
patch
obsolete
>diff -ru lighttpd.orig/files/lighttpd.logrotate-r1 lighttpd/files/lighttpd.logrotate-r1 >--- lighttpd.orig/files/lighttpd.logrotate-r1 2014-05-02 12:57:57.000000000 +0200 >+++ lighttpd/files/lighttpd.logrotate-r1 2015-02-13 08:40:29.478526118 +0100 >@@ -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 > } >diff -ru lighttpd.orig/files/lighttpd.service lighttpd/files/lighttpd.service >--- lighttpd.orig/files/lighttpd.service 2014-05-02 12:57:57.000000000 +0200 >+++ lighttpd/files/lighttpd.service 2015-02-13 08:38:01.071938706 +0100 >@@ -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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 508526
: 396316