tridactyla.org - Managing system and user services with perp
Because seemed nice to use it was already packaged in arbor. However, most of this should apply to other service supervisors as well. Just to supervise services), I created an extremely simple init. Which is expected to exec into a service supervisor. It also kills all processes, syncs and then reboots on USR1. And powers off on USR2. This should be unnecessary and you should be able to set. Here are some instructions for trying this out on Exherbo:. This should pull in perp. Or, alternatively, add.
tridactyla.org - Sorting torrent files on the fly with rTorrent
Which returns the output (stdout) of the specified command. I wanted to sort my torrents based on the tracker announce url, so I wrote a ruby script which, when called with the name of a torrent file, returns the host of the url with the TLD stripped. Tracker uri = URI. Print tracker uri.host.split( . One thing to be careful about is to make sure the command you run does not output a newline character, because. Will capture this as well. And put it in my. Get tied to file=}. Watch directory,10,10, load s...