View | Details | Raw Unified | Return to bug 5225
Collapse All | Expand All

(-)distccd.orig (-5 / +8 lines)
Lines 7-13 Link Here
7
# processname: distccd
7
# processname: distccd
8
8
9
# Written by Pavel Mironchik <tibor@altlinux.ru>
9
# Written by Pavel Mironchik <tibor@altlinux.ru>
10
10
# Patched for proper ACL list by LAKostis <lakostis@altlinux.ru>
11
11
12
. /etc/distccd/distccd.conf
12
. /etc/distccd/distccd.conf
13
. /etc/init.d/functions
13
. /etc/init.d/functions
Lines 17-27 Link Here
17
LOCKFILE=/var/lock/subsys/distccd
17
LOCKFILE=/var/lock/subsys/distccd
18
18
19
19
20
start() {
20
start() {                                                                          
21
21
	for serv in $ALLOW
22
	do
23
	  ACL="$ACL --allow $serv"
24
	done  
22
	eval "msg_starting distccd"
25
	eval "msg_starting distccd"
23
	eval "daemon /usr/bin/distccd --daemon --user $RUNUSER \
26
	daemon /usr/bin/distccd --daemon --user $RUNUSER \
24
        	--allow $ALLOW  --listen $ADDRESS --port $PORT "
27
        	$ACL --listen $ADDRESS --port $PORT
25
	echo
28
	echo
26
	RETVAL=$?
29
	RETVAL=$?
27
	[ $RETVAL -eq 0 ] && touch $LOCKFILE
30
	[ $RETVAL -eq 0 ] && touch $LOCKFILE

Return to bug 5225