distcc.confd 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # /etc/conf.d/distccd: config file for /etc/init.d/distccd
  2. DISTCCD_OPTS=""
  3. # this is the distccd executable
  4. DISTCCD_EXEC="/usr/bin/distccd"
  5. # this is where distccd will store its pid file
  6. PIDDIR="/run/distccd"
  7. DISTCCD_PIDFILE="$PIDDIR/distccd.pid"
  8. # set this option to run distccd with extra parameters
  9. # Default port is 3632. For most people the default is okay.
  10. DISTCCD_OPTS="${DISTCCD_OPTS} --port 3632"
  11. # Logging
  12. # You can change some logging options here:
  13. # --log-file FILE
  14. # --log-level LEVEL [critical,error,warning, notice, info, debug]
  15. #
  16. # Leaving --log-file blank will log to syslog
  17. # example: --log-file /dev/null --log-level warning
  18. # example: --log-level critical
  19. DISTCCD_OPTS="${DISTCCD_OPTS} --log-level critical"
  20. # SECURITY NOTICE:
  21. # It is HIGHLY recommended that you use the --listen option
  22. # for increased security. You can specify an IP to permit connections
  23. # from or a CIDR mask
  24. # --listen accepts only a single IP
  25. # --allow is now mandatory as of distcc-2.18.
  26. # example: --allow 192.168.0.0/24
  27. # example: --allow 192.168.0.5 --allow 192.168.0.150
  28. # example: --listen 192.168.0.2
  29. DISTCCD_OPTS="${DISTCCD_OPTS} --allow 192.168.0.0/24"
  30. DISTCCD_OPTS="${DISTCCD_OPTS} --listen 192.168.0.2"
  31. # set this for niceness
  32. # Default is 15
  33. DISTCCD_OPTS="${DISTCCD_OPTS} -N 19"