Hi,
Can someone explaint how to made a check script for a 64-bit CCcam?
This one is for 32-bit:
Can someone explaint how to made a check script for a 64-bit CCcam?
This one is for 32-bit:
Code:
#!/bin/sh process=`ps auxwww | grep CCcam.x86 | grep -v grep | awk '{print $1}'` if [ -z "$process" ]; then echo "Couldn't find CCcam.x86 running. Restarting server-binary" >> /var/cccamlog/cccam.check echo && date >>/var/cccamlog/cccam.check /usr/local/bin/CCcam.x86 -d >> /var/cccamlog/CCcam.log & else echo "CCcam.x86 is still OK!" >> /var/cccamlog/cccam.check fi
Comment