Ga naar inhoud
Sat4all gemigreerd! LEES HIER VERDER! ×

Aanbevolen berichten

Geplaatst:

hallo

 

ik heb in de cccam 221 de optie voor debug op no staan , toch word mijn debug log die in de emu dir zit constant gevuld . hoe kan ik deze uitschakelen.

draai op debian 6

Je moet niet steeds dezelfde fouten maken, er is keus genoeg.

 

Geplaatst:

Hoe start je cccam op? Geef eens de volledige opdracht regel.

“Success is not final, failure is not fatal: it is the courage to continue that counts.” ~ Winston Churchill

Geplaatst: (aangepast)

Hallo

 

Zie het al dat de debug aanstaat , kan die regel eruit gehaald worden , zonder problemen

 

CAMNAME="CCcam Server"

CAMDIR="/emu/cccam"

LOGDIR="/emu/log"

# end

 

# Checking what CCcam version is used on this computer.

if [ ! -f $CAMDIR/CCcam.x86_64 ]

then

CAM="CCcam.x86"

else

CAM="CCcam.x86_64"

fi

 

# Checking for pid file existance

if [ ! -f $CAMDIR/cccam.pid ]

then

echo "No pidfile exists, Creating PID for CCcam"

else

rm $CAMDIR/cccam.pid

echo "Pidfile allready found, Removing old pidfile"

fi

 

pidof $CAM > $CAMDIR/cccam.pid

PID=$(exec cat $CAMDIR/cccam.pid)

 

# This method starts CCcam

start_cam ()

{

$CAMDIR/$CAM -dv >> /$LOGDIR/debug.txt &

sleep 5

}

# This method stops CCcam

stop_cam ()

{

kill -9 $PID

sleep 5

}

case "$1" in

start)

echo "[sCRIPT] $1: $CAMNAME"

start_cam

;;

stop)

echo "[sCRIPT] $1: $CAMNAME"

stop_cam

;;

restart)

echo "Restarting $CAMNAME"

stop_cam

start_cam

;;

*)

"$0" stop

exit 1

;;

esac

exit 0

aangepast door martis

Je moet niet steeds dezelfde fouten maken, er is keus genoeg.

 

Geplaatst:

Verander "$CAMDIR/$CAM -dv >> /$LOGDIR/debug.txt &" in "$CAMDIR/$CAM &"

“Success is not final, failure is not fatal: it is the courage to continue that counts.” ~ Winston Churchill

  • Wie is er online   0 leden

    • Er zijn geen geregistreerde gebruikers deze pagina aan het bekijken
×
×
  • Nieuwe aanmaken...