<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- a/usr/lib/byobu/services
+++ b/usr/lib/byobu/services
@@ -24,6 +24,8 @@ __services_detail() {
 }
 
 service_running() {
+	pgrep "$1" &gt;/dev/null
+	return $?
 	if [ -f "/etc/init/$1.conf" ]; then
 		# Use upstart
 		case "$(status $1 2&gt;/dev/null)" in
</pre></body></html>