View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/mail-filter/postgrey/files/postgrey.rc.new (-1 / +3 lines)
 Lines 57-63    Link Here 
	
	
	# HACK -- start a subshell and corrects perms on the socket...
	# HACK -- start a subshell and corrects perms on the socket...
	( if [ "x${POSTGREY_TYPE}" = "xunix" ]; then
	( if [ "x${POSTGREY_TYPE}" = "xunix" ]; then
	sleep 2 && chmod a+rw,a-x ${POSTGREY_SOCKET}; fi ) &
	rm -f ${POSTGREY_SOCKET};
	while ! test -S ${POSTGREY_SOCKET}; do sleep 1; done;
	chmod a+rw,a-x ${POSTGREY_SOCKET}; fi ) &
	start-stop-daemon --start --quiet --background \
	start-stop-daemon --start --quiet --background \
		--exec /usr/sbin/postgrey -- \
		--exec /usr/sbin/postgrey -- \