summaryrefslogtreecommitdiffstats
path: root/debian/lenny/tdenetwork
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-02-01 17:10:02 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-02-01 17:10:02 +0100
commitf790aba47d9389b5529c637669346df7a0a1a9fe (patch)
tree232a856a9e256bc3be428c1621a6aa2c065a1fda /debian/lenny/tdenetwork
parent1e2672ad64a3a6bee8e12dd2496a85ddc80768a6 (diff)
downloadtde-packaging-f790aba47d9389b5529c637669346df7a0a1a9fe.tar.gz
tde-packaging-f790aba47d9389b5529c637669346df7a0a1a9fe.zip
Fix verification is_running in lisa init script on Debian and Ubuntu
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'debian/lenny/tdenetwork')
-rw-r--r--debian/lenny/tdenetwork/debian/lisa-trinity.init2
1 files changed, 1 insertions, 1 deletions
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