how can run 2 oscam in 1 vps
My system Ubuntu 16..
how can run 2 oscam in 1 vps
My system Ubuntu 16..
Add another instance of oscam in rc.local
New oscam binary is named oscam2
oscam2 has 755 permissions and is located in /usr/local/bin
New oscam config location is /usr/local/etc/oscam
create the new config directory with this:
mkdir /usr/local/etc/oscam
Howto: Oscam init scripts, running multiple Oscam instances and Oscam hardening
/usr/local/bin/oscam1 -b -c /usr/local/etc/oscam1 -t /tmp/.oscam1 -B /var/run/oscam1.pid -I oscam1 -d 0 -r 2 -p 1024
/usr/local/bin/oscam2 -b -c /usr/local/etc/oscam2 -t /tmp/.oscam2 -B /var/run/oscam2.pid -I oscam2 -d 0 -r 2 -p 1024
This should do it!
you can find ready made systemd files for instances here: http://svn.speedbox.me/svn/osc…all/trunk/script/systemd/
Don’t have an account yet? Register yourself now and be a part of our community!