How to kill ums with terminal or script ?

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
David0325
Posts: 27
Joined: Wed Apr 29, 2015 6:22 pm

How to kill ums with terminal or script ?

Post by David0325 »

Hello,
Using Ubuntu 18.04, UMS works fine on my system, that is not the purpose. In the aim to close, or kill, every applications running in background with one script, before I will connect or I use personal activity, I want to know how to close or kill UMS from terminal, or with script ? Thanks in advance
Nadahar
Posts: 1975
Joined: Tue Jun 09, 2015 5:57 pm

Re: Hwo to kill ums with terminal or script ?

Post by Nadahar »

UMS should react to sigterm.
David0325
Posts: 27
Joined: Wed Apr 29, 2015 6:22 pm

Re: Hwo to kill ums with terminal or script ?

Post by David0325 »

ok, and what is the command?
Nadahar
Posts: 1975
Joined: Tue Jun 09, 2015 5:57 pm

Re: Hwo to kill ums with terminal or script ?

Post by Nadahar »

Sigterm is a "signal", not a command. I don't know all the different ways it can be sent, but I know that you can the the "kill" command to send it. Just make sure to send digterm, not sigkill.
David0325
Posts: 27
Joined: Wed Apr 29, 2015 6:22 pm

Re: Hwo to kill ums with terminal or script ?

Post by David0325 »

I'm a beginner and sure of nothing. Could you tell me the full command to kill or close ums ?
Nadahar
Posts: 1975
Joined: Tue Jun 09, 2015 5:57 pm

Re: How to kill ums with terminal or script ?

Post by Nadahar »

Sorry, I don't use Linux on a regular basis, and there are so many different distros with different rules. If you search for how to send sigterm I'm sure you can find out. My guess is that you could use "killall" with the correct parameters.
Nadahar
Posts: 1975
Joined: Tue Jun 09, 2015 5:57 pm

Re: How to kill ums with terminal or script ?

Post by Nadahar »

Post Reply