View Full Version : CCCam restart script
Hi
Anyone have a script to restart cccam when it stops ?
There is some for servers so maybe theres one to work with vuduo,I have problems withh cccam stopping for no reason.
I found this for you
here is a small script that will check if your CCcam is running or not and it will restart it if not running
Save this file in the script folder, you can use any name you like example CCcamcheck.sh
then if you have crontab set the script to run every 10 mins for example, this crontab only depends on the image you use ofcourse not all images has this function.
#!/bin/sh
if ps x |grep -v grep |grep -c CCcam >/dev/null
then
echo "cccam... ok"
else
echo "cccam... restarting"
/var/bin/CCcam_2.1.4 &
fi
Hope this helps
I found this for you
here is a small script that will check if your CCcam is running or not and it will restart it if not running
Save this file in the script folder, you can use any name you like example CCcamcheck.sh
then if you have crontab set the script to run every 10 mins for example, this crontab only depends on the image you use ofcourse not all images has this function.
#!/bin/sh
if ps x |grep -v grep |grep -c CCcam >/dev/null
then
echo "cccam... ok"
else
echo "cccam... restarting"
/var/bin/CCcam_2.1.4 &
fi
Hope this helps
Hello.
Enigma 1 Gemini Image where it is necessary to make a copy ??
var / script ????
Hello.
Enigma 1 Gemini Image where it is necessary to make a copy ??
var / script ????
oké. greet oké
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.