Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
945 B
2
Indexable
Never
  1 #!/bin/sh
  2 exec 2>&1
  3 PROG="distccd"
  4 USER="nobody"
  5 OPTIONS="--no-detach"
  6 OPTIONS="$OPTIONS --daemon"
  7 OPTIONS="$OPTIONS --user $USER"
  8 OPTIONS="$OPTIONS --verbose"
  9 OPTIONS="$OPTIONS --log-file /home/fu/tmp/distccd.log"
 10 OPTIONS="$OPTIONS --allow-private"
 11 ALLOW_FILE=/etc/distcc/clients.allow
 12 if [ -f "$ALLOW_FILE" ]; then
 13         ALLOW_OPTIONS=$(sed -e 's/#.*$//' -e '/^\s*$/d' -e 's/^/--allow /' < $ALLOW_FILE)
 14 fi
 15 if [ -z "$ALLOW_OPTIONS" ]; then
 16         # Default to allow localhost
 17         ALLOW_OPTIONS="--allow 127.0.0.1"
 18 fi
 19 OPTIONS="$OPTIONS $ALLOW_OPTIONS"
 20 exec $PROG $OPTIONS


-------------------------------------

  fu@weedo  ~  sudo sv stop distccd && cd /etc/sv/distccd/ && sudo env -i /etc/sv/distccd/run
Password:
ok: down: distccd: 1s, normally up, want up
distccd[18256] (dcc_parse_mask) ERROR: can't parse internet address "fe80::"
Leave a Comment