about summary refs log tree commit diff stats
path: root/core/conf/rc.d/distccd
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2021-02-12 03:59:34 +0000
committerSilvino Silva <silvino@bk.ru>2021-02-12 03:59:34 +0000
commita3628fc49db4d88ff3e4067268650710d1da3f6f (patch)
tree8fdac6dfc8cabb9f85a2db3a3bd628cfe44438cd /core/conf/rc.d/distccd
parent0a6b0fc9769daf0932cb207c3285baa31547b489 (diff)
downloaddoc-a3628fc49db4d88ff3e4067268650710d1da3f6f.tar.gz
initial openbsd support
Diffstat (limited to 'core/conf/rc.d/distccd')
-rwxr-xr-xcore/conf/rc.d/distccd33
1 files changed, 0 insertions, 33 deletions
diff --git a/core/conf/rc.d/distccd b/core/conf/rc.d/distccd
deleted file mode 100755
index 65a166d..0000000
--- a/core/conf/rc.d/distccd
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env bash
-#
-# /etc/rc.d/distccd: start/stop distcc daemon
-#
-
-. /etc/distcc.conf
-if [ -z "$DISTCC_ALLOW" ]; then 
-    echo "Please define a range of IPs allowed to connect to this distccd"
-    echo "host in DISTCC_ALLOW in /etc/rc.conf. More detailed information"
-    echo "can be found in the distcc's README package."
-    exit 1
-fi
-
-DISTCC_USER="${DISTCC_USER:=nobody}"
-DISTCC_LOG_LEVEL="${DISTCC_LOG_LEVEL:=notice}"
-
-case $1 in
-start)
-	/usr/sbin/distccd --daemon --user "$DISTCC_USER" --allow "$DISTCC_ALLOW" --log-level "$DISTCC_LOG_LEVEL"
-	;;
-stop)
-	killall -q /usr/sbin/distccd
-	;;
-restart)
-	$0 stop
-	$0 start
-	;;
-*)
-	echo "usage: $0 [start|stop|restart]"
-	;;
-esac
-
-# End of file