diff --git a/.config/dtfscripts/common_service.sh b/.config/dtfscripts/common_service.sh index 5cf9335b..c867a74a 100755 --- a/.config/dtfscripts/common_service.sh +++ b/.config/dtfscripts/common_service.sh @@ -29,7 +29,7 @@ function svc_log() { # Basic pre-start checks. Stick extra checks in prestart-extra function prestart() { - if pgrep $service_process > /dev/null 2>&1; then + if isup; then svc_log "Already running" 0 return 1 fi