Jump to content

Question: creating kill script for rtorrent


Recommended Posts

How can I create a kill script for rtorrent in unMenu User Scripts if I don't know the PID?

 

 

I am not at my server right now, but when I get home and get a free chance I will write a little script to do this.  take a look at some of the examples and you may get an idea on how it is done.

 

I grep of the process by name should be able to get you the PID that you can then kill.  I know I did this for one I wrote (or something similar) it it works pretty well.  I think it is the stop airvideo user script.  Find that one and take a look at what it is doing and you might be able to figure it out.

 

Hope that helps a little bit

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...