--- pm/functions.in.orig 2009-01-18 21:11:52.000000000 +0100 +++ pm/functions.in 2009-01-18 21:12:19.000000000 +0100 @@ -141,7 +141,8 @@ stopservice() { - if service "$1" status 2>/dev/null | grep -c -q running; then + if service "$1" status 2>/dev/null | grep -q -e running -e started + then touch "${STORAGEDIR}/service:$1" service "$1" stop fi