diff --git a/nginx-ldap-auth-daemon-ctl-rh.sh b/nginx-ldap-auth-daemon-ctl-rh.sh index af647ac..e7d9f2c 100755 --- a/nginx-ldap-auth-daemon-ctl-rh.sh +++ b/nginx-ldap-auth-daemon-ctl-rh.sh @@ -18,7 +18,7 @@ start() { echo -n "Already running !" && warning echo else - nohup ${CMD} >/dev/null 2>&1 & + nohup python ${CMD} >/dev/null 2>&1 & RETVAL=$? PID=$! [ $RETVAL -eq 0 ] && success || failure