Edward-Wu / srt-live-server

srt live server for low latency
Other
645 stars 192 forks source link

no run on /etc/init.d so linux #64

Open nadinlozano opened 3 years ago

nadinlozano commented 3 years ago

edward good day, i do srt-live-server/bin/sls -c srt-live-server/sls.conf in form manual on my terminal linux program run, when i like run program for do automatic with bin/bash on /etc/init.d no run , but i do on terminal sudo /etc/init.d/sls start and run perfecty, thks

jengajenga commented 3 years ago

put a cron job to start on reboot @reboot cd /path/to/sls/bin && ./sls -c ../sls.conf

that worked for me

jengajenga commented 3 years ago

edward good day, i do srt-live-server/bin/sls -c srt-live-server/sls.conf in form manual on my terminal linux program run, when i like run program for do automatic with bin/bash on /etc/init.d no run , but i do on terminal sudo /etc/init.d/sls start and run perfecty, thks

See this link. It may help you.

https://github.com/Edward-Wu/srt-live-server/issues/35