From f790aba47d9389b5529c637669346df7a0a1a9fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 1 Feb 2016 17:10:02 +0100 Subject: Fix verification is_running in lisa init script on Debian and Ubuntu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- debian/lenny/tdenetwork/debian/lisa-trinity.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/lenny/tdenetwork') diff --git a/debian/lenny/tdenetwork/debian/lisa-trinity.init b/debian/lenny/tdenetwork/debian/lisa-trinity.init index 4e5dfa113..1551c0e1e 100644 --- a/debian/lenny/tdenetwork/debian/lisa-trinity.init +++ b/debian/lenny/tdenetwork/debian/lisa-trinity.init @@ -26,7 +26,7 @@ is_running () if [ -L /proc/`cat $PIDFILE`/exe ] then #checking for stale pidfile - if grep -q $NAME /proc/`cat $PIDFILE`/cmdline + if grep -q $DAEMON /proc/`cat $PIDFILE`/cmdline then #program is running and is called lisa return 0 -- cgit v1.2.1