diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-02-01 17:10:02 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-02-01 17:10:23 +0100 |
commit | 6eccc1f2f76d5cfb6b5f814ab8317695ccb8054c (patch) | |
tree | 98b42463bafbab976124f737dad5b0d9b6f51a31 /ubuntu/maverick | |
parent | 41241c98d3255e62d21969821c5fa86754a46127 (diff) | |
download | tde-packaging-6eccc1f2f76d5cfb6b5f814ab8317695ccb8054c.tar.gz tde-packaging-6eccc1f2f76d5cfb6b5f814ab8317695ccb8054c.zip |
Fix verification is_running in lisa init script on Debian and Ubuntu
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f790aba47d9389b5529c637669346df7a0a1a9fe)
Diffstat (limited to 'ubuntu/maverick')
-rw-r--r-- | ubuntu/maverick/tdenetwork/debian/lisa-trinity.init | 2 |
1 files changed, 1 insertions, 1 deletions
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 |