Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 508526
Collapse All | Expand All

(-)lighttpd.orig/files/lighttpd.logrotate-r1 (-1 / +1 lines)
Lines 11-16 Link Here
11
        sharedscripts
11
        sharedscripts
12
        postrotate
12
        postrotate
13
		test -e /run/openrc/softlevel && /etc/init.d/lighttpd reload 1>/dev/null || true
13
		test -e /run/openrc/softlevel && /etc/init.d/lighttpd reload 1>/dev/null || true
14
		test -e /run/systemd/system && systemctl restart lighttpd reload 1>/dev/null || true
14
		test -e /run/systemd/system && systemctl reload lighttpd.service || true
15
        endscript
15
        endscript
16
}
16
}
(-)lighttpd.orig/files/lighttpd.service (+1 lines)
Lines 4-9 Link Here
4
4
5
[Service]
5
[Service]
6
ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
6
ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
7
ExecReload=/bin/kill -HUP $MAINPID
7
8
8
[Install]
9
[Install]
9
WantedBy=multi-user.target
10
WantedBy=multi-user.target

Return to bug 508526