Code:
# cat /etc/rc.local
# $OpenBSD: rc.local,v 1.39 2006/07/28 20:19:46 sturm Exp $
# Site-specific startup actions, daemons, and other things which
# can be done AFTER your system goes into securemode. For actions
# which should be done BEFORE your system has gone into securemode
# please see /etc/rc.securelevel.
echo -n 'starting local daemons:'
# Add your local startup actions here.
if [ -x /usr/local/bin/socks.sh ]; then
echo -n ' socks';
/usr/local/bin/socks.sh
fi
if [ -x /usr/local/bin/dns.py ]; then
echo -n ' dns';
/usr/local/bin/dns.py >/dev/null 2>&1 &
fi
echo '.'
I cannot seem to start dns.py. Whenever I boot up my machine and check ps aux, it's not on there. I can run it from the command line just fine with "/usr/local/bin/dns.py >/dev/null 2>&1 &" (as root or sudo).