- --- a/usr/lib/byobu/services
- +++ b/usr/lib/byobu/services
- @@ -24,7 +24,9 @@ __services_detail() {
- }
-
- service_running() {
- - if [ -f "/etc/init/$1.conf" ]; then
- + if pgrep "$1" >/dev/null; then
- + true
- + elif [ -f "/etc/init/$1.conf" ]; then
- # Use upstart
- case "$(status $1 2>/dev/null)" in
- *running*)
|