You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
253 B

--- a/usr/lib/byobu/services
+++ b/usr/lib/byobu/services
@@ -24,6 +24,8 @@ __services_detail() {
}
service_running() {
+ pgrep "$1" >/dev/null
+ return $?
if [ -f "/etc/init/$1.conf" ]; then
# Use upstart
case "$(status $1 2>/dev/null)" in