wok diff distcc/stuff/distccd @ rev 17723
zonecheck: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 18:20:41 2015 +0100 (2015-03-05) |
parents | 6cf4a602d2f2 |
children | 7f188676b59c |
line diff
1.1 --- a/distcc/stuff/distccd Sat Feb 18 17:43:17 2012 +0100 1.2 +++ b/distcc/stuff/distccd Thu Mar 05 18:20:41 2015 +0100 1.3 @@ -28,6 +28,10 @@ 1.4 JOB=4 1.5 OPTIONS="--daemon --verbose -j $JOB $ALLOW --pid-file $PIDFILE --log-file $LOGFILE" 1.6 1.7 +if [ ! -d /var/run/distccd ]; then 1.8 + mkdir -p /var/run/distccd 1.9 + chown distccd.distccd /var/run/distccd 1.10 +fi 1.11 case "$1" in 1.12 start) 1.13 if active_pidfile $PIDFILE distccd ; then