Andrea Campanella | edfdbca | 2017-02-01 17:33:47 -0800 | [diff] [blame^] | 1 | #! /bin/bash |
2 | |||||
3 | # put this in /opt/xerocole/start-bbs.sh | ||||
4 | # make sure it's executable | ||||
5 | # set it up in crontab | ||||
6 | # @reboot /opt/xerocole/start-bbs.sh | ||||
7 | |||||
8 | ulimit -n 200000 | ||||
9 | cd /opt/xerocole/answerx | ||||
10 | /opt/xerocole/answerx/startStop checkconfig answerx | ||||
11 | /opt/xerocole/answerx/startStop start answerx | ||||
12 | cd /opt/xerocole/namecontrols | ||||
13 | nohup /opt/xerocole/namecontrols/broadbandshield & | ||||
14 | nohup socat TCP-LISTEN:80,bind=0.0.0.0,fork TCP4:127.0.0.1:8018 & |