You are not logged in.

#1 2009-04-17 10:38:03

Maki
Member
From: Skopje, Macedonia
Registered: 2007-10-16
Posts: 353
Website

Distcc configuration file doesn't work

I have followed the arch wiki http://wiki.archlinux.org/index.php/Distcc. but it seems like this following that how-to doesn't works.

I have this in /etc/conf.d/distccd

#
# Parameters to be passed to distccd
#
# You must explicitly add IPs (or subnets) that are allowed to connect,
# using the --allow switch.  See the distccd manpage for more info.
#
DISTCC_ARGS="--user nobody --allow 127.0.0.1"
DISTCC_HOSTS="localhost"

When i start the daemon DISTCC_HOSTS is blank.
However /etc/rc.d/distccd with the

/usr/bin/distccd --daemon ${DISTCC_ARGS}

command uses the DISTCC_ARGS variable just fine, and if i put something wrong i get an error.

distccd: ERROR: --typo: unknown option

Currently i use export to set, but can it be set directly from the config file?


If it ain't broke, broke it then fix it.

Offline

Board footer

Powered by FluxBB