Thursday, June 29, 2017

Running and Restarting Janus WebRTC Gateway

As Janus does not work as service, I finally had the following shell script to restart it whenever I changed configuration.


pkill -x janus
sleep 2
cd /opt/janus/bin/
./janus -F /opt/janus/etc/janus/


** Notice that this should work when you run janus in damemon mode by setting daemonize = true in janus.cfg


No comments:

Post a Comment