On Fri, 11 Oct 2013 12:30:25 +0100
Ian Malone <ibmalone(a)gmail.com> wrote:
On 11 October 2013 12:10, Frank Murphy <frankly3d(a)gmail.com>
wrote:
For example:
journalctl | grep azureus | grep "ERROR: unable to bind" > /dev/null
&& killall -SIGHUP java
Thanks Ian,
More elegant to be able to detect this failure at the attempt to
start the azureus client, do the kill and then retry the start
(while checking for loops). But that mightn't be possible depending
on how it reacts to your attempt to restart it.
That could work as a script in "ExecStartPre=/above example as script"
Will give it a spin.
--
Regards,
Frank
www.frankly3d.com