Page 1 of 1

[HOW To] Linux v3.1.2.1 as a service

Posted: Thu Nov 28, 2013 10:40 am
by nmhf
Hi,

I'm trying several uPnP servers like mediatomb, Serviio, PS3MediaServer and finally UMS and the best one for me it's UMS. Thanks for this nice work.

I have a cubieboard that runs Linux Cubian (similar to Ubuntu) and I don't know how to create UMS.sh to run as a auto service that starts in everyreboot. With Mediatomb it was possible by default because I used apt-get but ums isn't available in none repository.

Anyone could help me?

Many Thanks

Re: [HOW To] Linux v3.1.2.1 as a service

Posted: Fri Nov 29, 2013 10:08 am
by nmhf
Hi,

I didn't receive any answer but I was able to put it working using crontab -e

Just add this:
@reboot /home/cubie/ums-3.1.2.1/UMS.sh

it will run sh file in every reboot.

replace /home/cubie/ums-3.1.2.1 with your path.

Re: [HOW To] Linux v3.1.2.1 as a service

Posted: Sun Dec 08, 2013 10:17 am
by sapsa
Do you get any OutOfMemory, using it headless for few days?

Re: [HOW To] Linux v3.1.2.1 as a service

Posted: Sun Dec 08, 2013 11:05 am
by nmhf
Not yet

Re: [HOW To] Linux v3.1.2.1 as a service

Posted: Wed Dec 11, 2013 7:21 am
by Mandrake
You need a startup script. You can find one here that can be used to run it automatically. You'll just want to use something like rcconf to enable it once you have placed it in /etc/init.d.

Re: [HOW To] Linux v3.1.2.1 as a service

Posted: Thu Jan 23, 2014 10:38 am
by nmhf
sapsa wrote:Do you get any OutOfMemory, using it headless for few days?
I have facing a lot of "Out of Memory" using latest version of UMS (3.3.0). Both CPUs of my cubieboard2 are at 100% and i cannot play any movie.

Sometimes, subtitles stop working.

Every 2 days, I have to restart UMS.sh.

Anyone is facing same issue as me? If yes, what could I do?

Thanks