Revision 30ff79bc psng-supervisord.conf

View differences:

psng-supervisord.conf
1 1
[program:psng]
2 2
priority=20
3 3
directory=/peerstreamer/peerstreamer/
4
command=/peerstreamer/peerstreamer/peerstreamer-ng -c /tmp/channels.csv -s "iface=eth0"
4
command=/peerstreamer/peerstreamer/peerstreamer-ng -c /tmp/channels.csv -s "iface=$(ip route | awk  '/default/ {print $5}')"
5 5
user=root
6 6
autostart=true
7 7
autorestart=true

Also available in: Unified diff