HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 14:14:30 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //var/tmp/psybnc/psybncchk
#!/bin/sh
# This is the crontab script for psybnc.
#
# Please change the following path to your psybnc-directory.

PSYBNCPATH=/home/foobar/psybnc

# the rest should be kept as is

if test -r $PSYBNCPATH/psybnc.pid; then
    PSYPID=$(cat $PSYBNCPATH/psybnc.pid)
    if $(kill -CHLD $PSYPID >/dev/null 2>&1)
    then
	exit 0
    fi
fi
cd $PSYBNCPATH
./psybnc &>/dev/null