diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/lenny/tdenetwork/debian/lisa-trinity.init | 2 | ||||
-rw-r--r-- | debian/squeeze/tdenetwork/debian/lisa-trinity.init | 2 |
2 files changed, 2 insertions, 2 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 |