summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/lenny/tdenetwork/debian/lisa-trinity.init2
-rw-r--r--debian/squeeze/tdenetwork/debian/lisa-trinity.init2
-rw-r--r--ubuntu/maverick/tdenetwork/debian/lisa-trinity.init2
3 files changed, 3 insertions, 3 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
diff --git a/debian/squeeze/tdenetwork/debian/lisa-trinity.init b/debian/squeeze/tdenetwork/debian/lisa-trinity.init
index 4e5dfa113..1551c0e1e 100644
--- a/debian/squeeze/tdenetwork/debian/lisa-trinity.init
+++ b/debian/squeeze/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
diff --git a/ubuntu/maverick/tdenetwork/debian/lisa-trinity.init b/ubuntu/maverick/tdenetwork/debian/lisa-trinity.init
index 4e5dfa113..1551c0e1e 100644
--- a/ubuntu/maverick/tdenetwork/debian/lisa-trinity.init
+++ b/ubuntu/maverick/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