Autostart: proper way on headless system...
Posted: Wed Mar 13, 2019 2:26 am
I'm running it very smoothly on OPiZ with Armbian and Hauppauge 950Q. That is with manual start, everything works as it should and all devices see it as SAT>IP. Great!
Now I'm attempting to setup auto-start:
in /etc/rc.local
_______________
sleep 5
cd /minisatip
sudo ./minisatip -p http://x.x.x.x/playlist.m3u &
exit 0
_______________
Actually play list is just for fun, not really needed and without it my result does not change.
With above auto-start it runs but VLC does not see announcement on Local Network/UPnP tab. I assume other SAT>IP clients would not see it either but I cannot check it right now.
Originally I run it with absolute path - This would return empty HTML. I did try "-R" option - this fixes HTML but still no local network announcement. With -p option is the same as if I first set local folder.
With auto-start above everything works, including page/status and HTTP and RTSP streaming, but still no local network announcement. The only way to make it work I know is to manually start it.
Why would there be any difference? In bot cases I'm root.
How can it be setup for auto-start to have full functionality?
Thanks!
Now I'm attempting to setup auto-start:
in /etc/rc.local
_______________
sleep 5
cd /minisatip
sudo ./minisatip -p http://x.x.x.x/playlist.m3u &
exit 0
_______________
Actually play list is just for fun, not really needed and without it my result does not change.
With above auto-start it runs but VLC does not see announcement on Local Network/UPnP tab. I assume other SAT>IP clients would not see it either but I cannot check it right now.
Originally I run it with absolute path - This would return empty HTML. I did try "-R" option - this fixes HTML but still no local network announcement. With -p option is the same as if I first set local folder.
With auto-start above everything works, including page/status and HTTP and RTSP streaming, but still no local network announcement. The only way to make it work I know is to manually start it.
Why would there be any difference? In bot cases I'm root.
How can it be setup for auto-start to have full functionality?
Thanks!