[HOW To] Linux v3.1.2.1 as a service

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
nmhf
Posts: 6
Joined: Thu Nov 28, 2013 10:33 am

[HOW To] Linux v3.1.2.1 as a service

Post 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
nmhf
Posts: 6
Joined: Thu Nov 28, 2013 10:33 am

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

Post 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.
sapsa
Posts: 59
Joined: Wed Nov 13, 2013 8:22 am

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

Post by sapsa »

Do you get any OutOfMemory, using it headless for few days?
server: C2D [email protected] 3GB RAM
network: wired 1000MB/s
render: LG 55LM620S, Samsung LE40C650, PS3
OS: Linux 13.10 64bit
nmhf
Posts: 6
Joined: Thu Nov 28, 2013 10:33 am

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

Post by nmhf »

Not yet
Mandrake
Posts: 4
Joined: Fri Jun 15, 2012 12:42 pm

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

Post 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.
nmhf
Posts: 6
Joined: Thu Nov 28, 2013 10:33 am

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

Post 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
Post Reply