diff --git a/service_sysv_linux.go b/service_sysv_linux.go index 0f6392a6..9e0420f6 100644 --- a/service_sysv_linux.go +++ b/service_sysv_linux.go @@ -346,7 +346,7 @@ case "$1" in $0 start ;; status) - status_of_proc -p "$PIDFILE" "$DAEMON" "$DESC" + status_of_proc -p "$PIDFILE" "$NAME" "$DESC" ;; *) echo "Usage: sudo service $0 {start|stop|restart|status}" >&2