Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 554488 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-proxy/c-icap/files/c-icap.init.3 (+8 lines)
Lines 25-27 Link Here
25
25
26
	checkpath -d "$(dirname "${cmdsocket}")" "$(dirname "${pidfile}")"
26
	checkpath -d "$(dirname "${cmdsocket}")" "$(dirname "${pidfile}")"
27
}
27
}
28
29
extra_commands="relog"
30
31
relog() {
32
	local cmdsocket=$(get_config CommandsSocket /var/run/c-icap/c-icap.ctl)
33
34
	echo -n "relog" > ${cmdsocket}
35
}
(-)/usr/portage/net-proxy/c-icap/files/c-icap.logrotate (-3 / +3 lines)
Lines 1-13 Link Here
1
/var/log/c-icap/access.log {
1
/var/log/c-icap/access.log {
2
	missingok
2
	missingok
3
	postrotate
3
	postrotate
4
		/etc/init.d/c-icap restart
4
		/etc/init.d/c-icap relog
5
	endscript
5
	endscript
6
}
6
}
7
7
8
/var/log/cicap-server.log {
8
/var/log/c-icap/server.log {
9
	missingok
9
	missingok
10
	postrotate
10
	postrotate
11
		/etc/init.d/c-icap restart
11
		/etc/init.d/c-icap relog
12
	endscript
12
	endscript
13
}
13
}

Return to bug 554488